Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-tectonic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
podlesny
dune-tectonic
Commits
3218ed19
Commit
3218ed19
authored
4 years ago
by
podlesny
Browse files
Options
Downloads
Patches
Plain Diff
overload constructor
parent
8c0bd965
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/tectonic/spatial-solving/solverfactory.cc
+10
-0
10 additions, 0 deletions
dune/tectonic/spatial-solving/solverfactory.cc
dune/tectonic/spatial-solving/solverfactory.hh
+4
-0
4 additions, 0 deletions
dune/tectonic/spatial-solving/solverfactory.hh
with
14 additions
and
0 deletions
dune/tectonic/spatial-solving/solverfactory.cc
+
10
−
0
View file @
3218ed19
...
...
@@ -20,6 +20,16 @@ SolverFactory<Functional, BitVector>::SolverFactory(
ignoreNodes_
(
ignoreNodes
)
{}
template
<
class
Functional
,
class
BitVector
>
SolverFactory
<
Functional
,
BitVector
>::
SolverFactory
(
const
Dune
::
ParameterTree
&
parset
,
std
::
shared_ptr
<
Functional
>
J
,
const
BitVector
&
ignoreNodes
)
:
parset_
(
parset
),
J_
(
Dune
::
Solvers
::
wrap_own_share
<
const
Functional
>
(
J
)),
ignoreNodes_
(
ignoreNodes
)
{}
template
<
class
Functional
,
class
BitVector
>
template
<
class
LinearSolver
>
void
SolverFactory
<
Functional
,
BitVector
>::
build
(
std
::
shared_ptr
<
LinearSolver
>&
linearSolver
)
{
...
...
This diff is collapsed.
Click to expand it.
dune/tectonic/spatial-solving/solverfactory.hh
+
4
−
0
View file @
3218ed19
...
...
@@ -38,6 +38,10 @@ class SolverFactory {
Functional
&
,
const
BitVector
&
);
SolverFactory
(
const
Dune
::
ParameterTree
&
,
std
::
shared_ptr
<
Functional
>
,
const
BitVector
&
);
template
<
class
LinearSolver
>
void
build
(
std
::
shared_ptr
<
LinearSolver
>&
linearSolver
);
...
...
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