Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
dune-gdt
Commits
71ceeb6d
Commit
71ceeb6d
authored
8 years ago
by
Dr. Felix Tobias Schindler
Browse files
Options
Downloads
Patches
Plain Diff
[bindings] disable all but a minimum selection (compile takes too long)
parent
35cdaabe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/gdt/CMakeLists.txt
+26
-26
26 additions, 26 deletions
dune/gdt/CMakeLists.txt
dune/gdt/bindings.cc
+72
-72
72 additions, 72 deletions
dune/gdt/bindings.cc
with
98 additions
and
98 deletions
dune/gdt/CMakeLists.txt
+
26
−
26
View file @
71ceeb6d
...
@@ -11,38 +11,38 @@ if(dune-pybindxi_FOUND)
...
@@ -11,38 +11,38 @@ if(dune-pybindxi_FOUND)
dune_pybindxi_add_helper_lib
(
_gdt_bindings_helper
dune_pybindxi_add_helper_lib
(
_gdt_bindings_helper
assembler/system.bindings.cc
assembler/system.bindings.cc
discretefunction/default.bindings.cc
discretefunction/default.bindings.cc
operators/elliptic-ipdg.bindings/alu_common_fem.cc
#
operators/elliptic-ipdg.bindings/alu_common_fem.cc
operators/elliptic-ipdg.bindings/alu_common_gdt.cc
#
operators/elliptic-ipdg.bindings/alu_common_gdt.cc
operators/elliptic-ipdg.bindings/alu_common_pdelab.cc
#
operators/elliptic-ipdg.bindings/alu_common_pdelab.cc
operators/elliptic-ipdg.bindings/alu_eigen_fem.cc
#
operators/elliptic-ipdg.bindings/alu_eigen_fem.cc
operators/elliptic-ipdg.bindings/alu_eigen_gdt.cc
#
operators/elliptic-ipdg.bindings/alu_eigen_gdt.cc
operators/elliptic-ipdg.bindings/alu_eigen_pdelab.cc
#
operators/elliptic-ipdg.bindings/alu_eigen_pdelab.cc
operators/elliptic-ipdg.bindings/alu_istl_fem.cc
operators/elliptic-ipdg.bindings/alu_istl_fem.cc
operators/elliptic-ipdg.bindings/alu_istl_gdt.cc
#
operators/elliptic-ipdg.bindings/alu_istl_gdt.cc
operators/elliptic-ipdg.bindings/alu_istl_pdelab.cc
#
operators/elliptic-ipdg.bindings/alu_istl_pdelab.cc
operators/elliptic-ipdg.bindings/yasp_common_fem.cc
#
operators/elliptic-ipdg.bindings/yasp_common_fem.cc
operators/elliptic-ipdg.bindings/yasp_common_gdt.cc
#
operators/elliptic-ipdg.bindings/yasp_common_gdt.cc
operators/elliptic-ipdg.bindings/yasp_common_pdelab.cc
#
operators/elliptic-ipdg.bindings/yasp_common_pdelab.cc
operators/elliptic-ipdg.bindings/yasp_eigen_fem.cc
#
operators/elliptic-ipdg.bindings/yasp_eigen_fem.cc
operators/elliptic-ipdg.bindings/yasp_eigen_gdt.cc
#
operators/elliptic-ipdg.bindings/yasp_eigen_gdt.cc
operators/elliptic-ipdg.bindings/yasp_eigen_pdelab.cc
#
operators/elliptic-ipdg.bindings/yasp_eigen_pdelab.cc
operators/elliptic-ipdg.bindings/yasp_istl_fem.cc
#
operators/elliptic-ipdg.bindings/yasp_istl_fem.cc
operators/elliptic-ipdg.bindings/yasp_istl_gdt.cc
#
operators/elliptic-ipdg.bindings/yasp_istl_gdt.cc
operators/elliptic-ipdg.bindings/yasp_istl_pdelab.cc
#
operators/elliptic-ipdg.bindings/yasp_istl_pdelab.cc
operators/elliptic.bindings/common_fem.cc
#
operators/elliptic.bindings/common_fem.cc
operators/elliptic.bindings/common_gdt.cc
#
operators/elliptic.bindings/common_gdt.cc
operators/elliptic.bindings/common_pdelab.cc
#
operators/elliptic.bindings/common_pdelab.cc
operators/elliptic.bindings/eigen_fem.cc
#
operators/elliptic.bindings/eigen_fem.cc
operators/elliptic.bindings/eigen_gdt.cc
#
operators/elliptic.bindings/eigen_gdt.cc
operators/elliptic.bindings/eigen_pdelab.cc
#
operators/elliptic.bindings/eigen_pdelab.cc
operators/elliptic.bindings/istl_fem.cc
operators/elliptic.bindings/istl_fem.cc
operators/elliptic.bindings/istl_gdt.cc
#
operators/elliptic.bindings/istl_gdt.cc
operators/elliptic.bindings/istl_pdelab.cc
#
operators/elliptic.bindings/istl_pdelab.cc
projections/dirichlet.bindings.cc
projections/dirichlet.bindings.cc
spaces/cg.bindings.cc
spaces/cg.bindings.cc
spaces/constraints.bindings.cc
spaces/constraints.bindings.cc
spaces/dg.bindings.cc
spaces/dg.bindings.cc
spaces/fv.bindings.cc
#
spaces/fv.bindings.cc
)
)
dune_pybindxi_add_module
(
_gdt bindings.cc
)
dune_pybindxi_add_module
(
_gdt bindings.cc
)
target_link_dune_default_libraries
(
_gdt
)
target_link_dune_default_libraries
(
_gdt
)
...
...
This diff is collapsed.
Click to expand it.
dune/gdt/bindings.cc
+
72
−
72
View file @
71ceeb6d
...
@@ -48,11 +48,11 @@ struct for_Grid_and_Intersection
...
@@ -48,11 +48,11 @@ struct for_Grid_and_Intersection
static
void
addbind
(
py
::
module
&
m
,
const
std
::
string
&
grid_id
,
const
std
::
string
&
id
)
static
void
addbind
(
py
::
module
&
m
,
const
std
::
string
&
grid_id
,
const
std
::
string
&
id
)
{
{
auto
constraints
=
DirichletConstraints
<
I
>::
bind
(
m
,
grid_id
+
id
);
auto
constraints
=
DirichletConstraints
<
I
>::
bind
(
m
,
grid_id
+
id
);
DirichletConstraints
<
I
>::
template
addbind
<
Dune
::
XT
::
LA
::
Backends
::
common_dense
>(
constraints
);
//
DirichletConstraints<I>::template addbind<Dune::XT::LA::Backends::common_dense>(constraints);
#if HAVE_EIGEN
//
#if HAVE_EIGEN
DirichletConstraints
<
I
>::
template
addbind
<
Dune
::
XT
::
LA
::
Backends
::
eigen_dense
>(
constraints
);
//
DirichletConstraints<I>::template addbind<Dune::XT::LA::Backends::eigen_dense>(constraints);
DirichletConstraints
<
I
>::
template
addbind
<
Dune
::
XT
::
LA
::
Backends
::
eigen_sparse
>(
constraints
);
//
DirichletConstraints<I>::template addbind<Dune::XT::LA::Backends::eigen_sparse>(constraints);
#endif
//
#endif
#if HAVE_DUNE_ISTL
#if HAVE_DUNE_ISTL
DirichletConstraints
<
I
>::
template
addbind
<
Dune
::
XT
::
LA
::
Backends
::
istl_sparse
>(
constraints
);
DirichletConstraints
<
I
>::
template
addbind
<
Dune
::
XT
::
LA
::
Backends
::
istl_sparse
>(
constraints
);
#endif
#endif
...
@@ -132,17 +132,17 @@ void addbind_for_space(py::module& m,
...
@@ -132,17 +132,17 @@ void addbind_for_space(py::module& m,
"grid_provider"
_a
,
"grid_provider"
_a
,
"level"
_a
=
0
,
"level"
_a
=
0
,
py
::
keep_alive
<
0
,
1
>
());
py
::
keep_alive
<
0
,
1
>
());
// DiscreteFunction
// DiscreteFunction
ConstDiscreteFunction
<
S
,
COMMON_DENSE_VECTOR
>::
bind
(
//
ConstDiscreteFunction<S, COMMON_DENSE_VECTOR>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"common_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "common_dense");
DiscreteFunction
<
S
,
COMMON_DENSE_VECTOR
>::
bind
(
//
DiscreteFunction<S, COMMON_DENSE_VECTOR>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"common_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "common_dense");
#if HAVE_EIGEN
//
#if HAVE_EIGEN
ConstDiscreteFunction
<
S
,
EIGEN_DENSE_VECTOR
>::
bind
(
//
ConstDiscreteFunction<S, EIGEN_DENSE_VECTOR>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_dense");
DiscreteFunction
<
S
,
EIGEN_DENSE_VECTOR
>::
bind
(
//
DiscreteFunction<S, EIGEN_DENSE_VECTOR>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_dense");
#endif // HAVE_EIGEN
//
#endif // HAVE_EIGEN
#if HAVE_DUNE_ISTL
#if HAVE_DUNE_ISTL
ConstDiscreteFunction
<
S
,
ISTL_DENSE_VECTOR
>::
bind
(
ConstDiscreteFunction
<
S
,
ISTL_DENSE_VECTOR
>::
bind
(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"istl_dense"
);
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"istl_dense"
);
...
@@ -154,35 +154,35 @@ void addbind_for_space(py::module& m,
...
@@ -154,35 +154,35 @@ void addbind_for_space(py::module& m,
SystemAssembler
<
S
>::
bind
(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
);
SystemAssembler
<
S
>::
bind
(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
);
addbind_for_lagrange_space
<
S
,
COMMON_DENSE_VECTOR
,
ScalarFunction
>
()(
addbind_for_lagrange_space
<
S
,
COMMON_DENSE_VECTOR
,
ScalarFunction
>
()(
m
,
system_assembler
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"common_dense"
);
m
,
system_assembler
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"common_dense"
);
#if HAVE_EIGEN
//
#if HAVE_EIGEN
addbind_for_lagrange_space
<
S
,
EIGEN_DENSE_VECTOR
,
ScalarFunction
>
()(
//
addbind_for_lagrange_space<S, EIGEN_DENSE_VECTOR, ScalarFunction>()(
m
,
system_assembler
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_dense"
);
//
m, system_assembler, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_dense");
#endif
//
#endif
#if HAVE_DUNE_ISTL
//
#if HAVE_DUNE_ISTL
addbind_for_lagrange_space
<
S
,
ISTL_DENSE_VECTOR
,
ScalarFunction
>
()(
//
addbind_for_lagrange_space<S, ISTL_DENSE_VECTOR, ScalarFunction>()(
m
,
system_assembler
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"istl_dense"
);
//
m, system_assembler, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "istl_dense");
#endif
//
#endif
// EllipticMatrixOperator
// EllipticMatrixOperator
EllipticMatrixOperator
<
ScalarFunction
,
TensorFunction
,
S
,
COMMON_DENSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<ScalarFunction, TensorFunction, S, COMMON_DENSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"common_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "common_dense");
EllipticMatrixOperator
<
ScalarFunction
,
void
,
S
,
COMMON_DENSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<ScalarFunction, void, S, COMMON_DENSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"common_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "common_dense");
EllipticMatrixOperator
<
TensorFunction
,
void
,
S
,
COMMON_DENSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<TensorFunction, void, S, COMMON_DENSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"common_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "common_dense");
#if HAVE_EIGEN
//
#if HAVE_EIGEN
EllipticMatrixOperator
<
ScalarFunction
,
TensorFunction
,
S
,
EIGEN_DENSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<ScalarFunction, TensorFunction, S, EIGEN_DENSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_dense");
EllipticMatrixOperator
<
ScalarFunction
,
void
,
S
,
EIGEN_DENSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<ScalarFunction, void, S, EIGEN_DENSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_dense");
EllipticMatrixOperator
<
TensorFunction
,
void
,
S
,
EIGEN_DENSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<TensorFunction, void, S, EIGEN_DENSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_dense"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_dense");
EllipticMatrixOperator
<
ScalarFunction
,
TensorFunction
,
S
,
EIGEN_SPARSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<ScalarFunction, TensorFunction, S, EIGEN_SPARSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_sparse"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_sparse");
EllipticMatrixOperator
<
ScalarFunction
,
void
,
S
,
EIGEN_SPARSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<ScalarFunction, void, S, EIGEN_SPARSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_sparse"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_sparse");
EllipticMatrixOperator
<
TensorFunction
,
void
,
S
,
EIGEN_SPARSE_MATRIX
>::
bind
(
//
EllipticMatrixOperator<TensorFunction, void, S, EIGEN_SPARSE_MATRIX>::bind(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"eigen_sparse"
);
//
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, "eigen_sparse");
#endif // HAVE_EIGEN
//
#endif // HAVE_EIGEN
#if HAVE_DUNE_ISTL
#if HAVE_DUNE_ISTL
EllipticMatrixOperator
<
ScalarFunction
,
TensorFunction
,
S
,
ISTL_SPARSE_MATRIX
>::
bind
(
EllipticMatrixOperator
<
ScalarFunction
,
TensorFunction
,
S
,
ISTL_SPARSE_MATRIX
>::
bind
(
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"istl_sparse"
);
m
,
space_id
+
"Space__"
+
grid_id
+
"_"
+
layer_id
+
"_to_"
+
space_suffix
,
"istl_sparse"
);
...
@@ -206,21 +206,21 @@ void addbind_for_space(py::module& m,
...
@@ -206,21 +206,21 @@ void addbind_for_space(py::module& m,
EllipticIpdgMatrixOperator<TensorFunction, void, S, GDT::LocalEllipticIpdgIntegrands::Method::_MET, _MAT>::bind( \
EllipticIpdgMatrixOperator<TensorFunction, void, S, GDT::LocalEllipticIpdgIntegrands::Method::_MET, _MAT>::bind( \
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, _la, _met)
m, space_id + "Space__" + grid_id + "_" + layer_id + "_to_" + space_suffix, _la, _met)
BIND_ELLIPTIT_IPDG_OP
(
COMMON_DENSE_MATRIX
,
"common_dense"
,
sipdg
,
"Sipdg"
);
//
BIND_ELLIPTIT_IPDG_OP(COMMON_DENSE_MATRIX, "common_dense", sipdg, "Sipdg");
BIND_ELLIPTIT_IPDG_OP
(
COMMON_DENSE_MATRIX
,
"common_dense"
,
swipdg
,
"Swipdg"
);
//
BIND_ELLIPTIT_IPDG_OP(COMMON_DENSE_MATRIX, "common_dense", swipdg, "Swipdg");
BIND_ELLIPTIT_IPDG_OP
(
COMMON_DENSE_MATRIX
,
"common_dense"
,
swipdg_affine_factor
,
"SwipdgAffineFactor"
);
//
BIND_ELLIPTIT_IPDG_OP(COMMON_DENSE_MATRIX, "common_dense", swipdg_affine_factor, "SwipdgAffineFactor");
BIND_ELLIPTIT_IPDG_OP
(
COMMON_DENSE_MATRIX
,
"common_dense"
,
swipdg_affine_tensor
,
"SwipdgAffineTensor"
);
//
BIND_ELLIPTIT_IPDG_OP(COMMON_DENSE_MATRIX, "common_dense", swipdg_affine_tensor, "SwipdgAffineTensor");
#if HAVE_EIGEN
//
#if HAVE_EIGEN
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_DENSE_MATRIX
,
"eigen_dense"
,
sipdg
,
"Sipdg"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_DENSE_MATRIX, "eigen_dense", sipdg, "Sipdg");
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_DENSE_MATRIX
,
"eigen_dense"
,
swipdg
,
"Swipdg"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_DENSE_MATRIX, "eigen_dense", swipdg, "Swipdg");
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_DENSE_MATRIX
,
"eigen_dense"
,
swipdg_affine_factor
,
"SwipdgAffineFactor"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_DENSE_MATRIX, "eigen_dense", swipdg_affine_factor, "SwipdgAffineFactor");
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_DENSE_MATRIX
,
"eigen_dense"
,
swipdg_affine_tensor
,
"SwipdgAffineTensor"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_DENSE_MATRIX, "eigen_dense", swipdg_affine_tensor, "SwipdgAffineTensor");
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_SPARSE_MATRIX
,
"eigen_sparse"
,
sipdg
,
"SIPDG"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_SPARSE_MATRIX, "eigen_sparse", sipdg, "SIPDG");
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_SPARSE_MATRIX
,
"eigen_sparse"
,
sipdg
,
"Sipdg"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_SPARSE_MATRIX, "eigen_sparse", sipdg, "Sipdg");
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_SPARSE_MATRIX
,
"eigen_sparse"
,
swipdg
,
"Swipdg"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_SPARSE_MATRIX, "eigen_sparse", swipdg, "Swipdg");
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_SPARSE_MATRIX
,
"eigen_sparse"
,
swipdg_affine_factor
,
"SwipdgAffineFactor"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_SPARSE_MATRIX, "eigen_sparse", swipdg_affine_factor, "SwipdgAffineFactor");
BIND_ELLIPTIT_IPDG_OP
(
EIGEN_SPARSE_MATRIX
,
"eigen_sparse"
,
swipdg_affine_tensor
,
"SwipdgAffineTensor"
);
//
BIND_ELLIPTIT_IPDG_OP(EIGEN_SPARSE_MATRIX, "eigen_sparse", swipdg_affine_tensor, "SwipdgAffineTensor");
#endif
//
#endif
#if HAVE_DUNE_ISTL
#if HAVE_DUNE_ISTL
BIND_ELLIPTIT_IPDG_OP
(
ISTL_SPARSE_MATRIX
,
"istl_sparse"
,
sipdg
,
"Sipdg"
);
BIND_ELLIPTIT_IPDG_OP
(
ISTL_SPARSE_MATRIX
,
"istl_sparse"
,
sipdg
,
"Sipdg"
);
BIND_ELLIPTIT_IPDG_OP
(
ISTL_SPARSE_MATRIX
,
"istl_sparse"
,
swipdg
,
"Swipdg"
);
BIND_ELLIPTIT_IPDG_OP
(
ISTL_SPARSE_MATRIX
,
"istl_sparse"
,
swipdg
,
"Swipdg"
);
...
@@ -316,11 +316,11 @@ void addbind_for_grid(py::module& m, const std::string& grid_id)
...
@@ -316,11 +316,11 @@ void addbind_for_grid(py::module& m, const std::string& grid_id)
using
namespace
Dune
;
using
namespace
Dune
;
using
namespace
Dune
::
XT
;
using
namespace
Dune
::
XT
;
using
namespace
Dune
::
GDT
;
using
namespace
Dune
::
GDT
;
// FV
//
// FV
addbind_for_space
<
FvSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
leaf
,
ChooseSpaceBackend
::
gdt
,
double
,
1
,
1
>>
(
//
addbind_for_space<FvSpaceProvider<G, XT::Grid::Layers::leaf, ChooseSpaceBackend::gdt, double, 1, 1>>(
m
,
grid_id
,
"leaf"
,
"Fv"
,
""
);
//
m, grid_id, "leaf", "Fv", "");
addbind_for_space
<
FvSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
level
,
ChooseSpaceBackend
::
gdt
,
double
,
1
,
1
>>
(
//
addbind_for_space<FvSpaceProvider<G, XT::Grid::Layers::level, ChooseSpaceBackend::gdt, double, 1, 1>>(
m
,
grid_id
,
"level"
,
"Fv"
,
""
);
//
m, grid_id, "level", "Fv", "");
// CG
// CG
#if HAVE_DUNE_FEM
#if HAVE_DUNE_FEM
addbind_for_space
<
CgSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
leaf
,
ChooseSpaceBackend
::
fem
,
1
,
double
,
1
,
1
>>
(
addbind_for_space
<
CgSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
leaf
,
ChooseSpaceBackend
::
fem
,
1
,
double
,
1
,
1
>>
(
...
@@ -328,12 +328,12 @@ void addbind_for_grid(py::module& m, const std::string& grid_id)
...
@@ -328,12 +328,12 @@ void addbind_for_grid(py::module& m, const std::string& grid_id)
addbind_for_space
<
CgSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
level
,
ChooseSpaceBackend
::
fem
,
1
,
double
,
1
,
1
>>
(
addbind_for_space
<
CgSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
level
,
ChooseSpaceBackend
::
fem
,
1
,
double
,
1
,
1
>>
(
m
,
grid_id
,
"level"
,
"Cg"
,
"__fem"
);
m
,
grid_id
,
"level"
,
"Cg"
,
"__fem"
);
#endif
#endif
#if HAVE_DUNE_PDELAB
//
#if HAVE_DUNE_PDELAB
addbind_for_space
<
CgSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
leaf
,
ChooseSpaceBackend
::
pdelab
,
1
,
double
,
1
,
1
>>
(
//
addbind_for_space<CgSpaceProvider<G, XT::Grid::Layers::leaf, ChooseSpaceBackend::pdelab, 1, double, 1, 1>>(
m
,
grid_id
,
"leaf"
,
"Cg"
,
"__pdelab"
);
//
m, grid_id, "leaf", "Cg", "__pdelab");
addbind_for_space
<
CgSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
level
,
ChooseSpaceBackend
::
pdelab
,
1
,
double
,
1
,
1
>>
(
//
addbind_for_space<CgSpaceProvider<G, XT::Grid::Layers::level, ChooseSpaceBackend::pdelab, 1, double, 1, 1>>(
m
,
grid_id
,
"level"
,
"Cg"
,
"__pdelab"
);
//
m, grid_id, "level", "Cg", "__pdelab");
#endif
//
#endif
// DG
// DG
#if HAVE_DUNE_FEM
#if HAVE_DUNE_FEM
addbind_for_space
<
DgSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
leaf
,
ChooseSpaceBackend
::
fem
,
1
,
double
,
1
,
1
>>
(
addbind_for_space
<
DgSpaceProvider
<
G
,
XT
::
Grid
::
Layers
::
leaf
,
ChooseSpaceBackend
::
fem
,
1
,
double
,
1
,
1
>>
(
...
@@ -415,7 +415,7 @@ PYBIND11_PLUGIN(_gdt)
...
@@ -415,7 +415,7 @@ PYBIND11_PLUGIN(_gdt)
},
},
"args"
_a
=
std
::
vector
<
std
::
string
>
());
"args"
_a
=
std
::
vector
<
std
::
string
>
());
addbind_for_grid
<
Dune
::
YaspGrid
<
2
,
Dune
::
EquidistantOffsetCoordinates
<
double
,
2
>>>
(
m
,
"2d_cube_yaspgrid"
);
//
addbind_for_grid<Dune::YaspGrid<2, Dune::EquidistantOffsetCoordinates<double, 2>>>(m, "2d_cube_yaspgrid");
#if HAVE_ALUGRID || HAVE_DUNE_ALUGRID
#if HAVE_ALUGRID || HAVE_DUNE_ALUGRID
addbind_for_grid
<
Dune
::
ALUGrid
<
2
,
2
,
Dune
::
simplex
,
Dune
::
conforming
>>
(
m
,
"2d_simplex_aluconform"
);
addbind_for_grid
<
Dune
::
ALUGrid
<
2
,
2
,
Dune
::
simplex
,
Dune
::
conforming
>>
(
m
,
"2d_simplex_aluconform"
);
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment