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
fcce5e21
Commit
fcce5e21
authored
3 years ago
by
Dr. Felix Tobias Schindler
Browse files
Options
Downloads
Patches
Plain Diff
silence some warnings
parent
ab4af5b7
No related branches found
No related tags found
1 merge request
!10
Draft: consolidate refactoring work
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/dune/gdt/operators/matrix-based.hh
+6
-5
6 additions, 5 deletions
python/dune/gdt/operators/matrix-based.hh
with
6 additions
and
5 deletions
python/dune/gdt/operators/matrix-based.hh
+
6
−
5
View file @
fcce5e21
...
...
@@ -67,7 +67,7 @@ private:
template
<
bool
needs_sparsity_tag
=
!
std
::
is_same
<
SparsityTag
,
void
>
::
value
,
bool
anything
=
true
>
struct
addbind
/*<true, ...>*/
{
static
void
leaf_factory
(
pybind11
::
module
&
m
,
const
std
::
string
&
FactoryName
)
static
void
leaf_factory
(
pybind11
::
module
&
/*m*/
,
const
std
::
string
&
/*
FactoryName
*/
)
{
namespace
py
=
pybind11
;
using
namespace
pybind11
::
literals
;
...
...
@@ -117,7 +117,7 @@ private:
// py::keep_alive<0, 2>(),
// py::keep_alive<0, 3>());
}
static
void
coupling_factory
(
pybind11
::
module
&
m
,
const
std
::
string
&
FactoryName
)
static
void
coupling_factory
(
pybind11
::
module
&
/*m*/
,
const
std
::
string
&
/*
FactoryName
*/
)
{
namespace
py
=
pybind11
;
using
namespace
pybind11
::
literals
;
...
...
@@ -698,15 +698,16 @@ public:
return
c
;
}
static
void
bind_leaf_factory
(
pybind11
::
module
&
m
,
const
std
::
string
&
matrix_id
,
const
std
::
string
&
class_id
=
"matrix_operator"
)
static
void
bind_leaf_factory
(
pybind11
::
module
&
m
,
const
std
::
string
&
/*matrix_id*/
,
const
std
::
string
&
class_id
=
"matrix_operator"
)
{
const
auto
FactoryName
=
XT
::
Common
::
to_camel_case
(
class_id
);
addbind
<>::
leaf_factory
(
m
,
FactoryName
);
}
static
void
bind_coupling_factory
(
pybind11
::
module
&
m
,
const
std
::
string
&
matrix_id
,
const
std
::
string
&
/*
matrix_id
*/
,
const
std
::
string
&
class_id
=
"matrix_operator"
)
{
const
auto
FactoryName
=
XT
::
Common
::
to_camel_case
(
class_id
);
...
...
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