Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
6f68a7b0
Commit
6f68a7b0
authored
Aug 28, 2019
by
Dennis Gläser
Committed by
Timo Koch
Sep 12, 2019
Browse files
[md][fvassembler] add constructor for instationary problems
parent
cc05bae1
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/multidomain/fvassembler.hh
View file @
6f68a7b0
...
...
@@ -152,6 +152,26 @@ public:
std
::
cout
<<
"Instantiated assembler for a stationary problem."
<<
std
::
endl
;
}
/*!
* \brief The constructor for instationary problems
* \note this constructor is deprecated (use the one receiving the previous solution instead)
*/
[[
deprecated
(
"Please use constructor taking the previous solution instead. Will be removed after release 3.2!"
)]]
MultiDomainFVAssembler
(
ProblemTuple
&&
problem
,
FVGridGeometryTuple
&&
fvGridGeometry
,
GridVariablesTuple
&&
gridVariables
,
std
::
shared_ptr
<
CouplingManager
>
couplingManager
,
std
::
shared_ptr
<
const
TimeLoop
>
timeLoop
)
:
couplingManager_
(
couplingManager
)
,
problemTuple_
(
problem
)
,
fvGridGeometryTuple_
(
fvGridGeometry
)
,
gridVariablesTuple_
(
gridVariables
)
,
timeLoop_
(
timeLoop
)
,
isStationaryProblem_
(
false
)
{
std
::
cout
<<
"Instantiated assembler for an instationary problem."
<<
std
::
endl
;
}
/*!
* \brief The constructor for instationary problems
* \note the grid variables might be temporarily changed during assembly (if caching is enabled)
...
...
@@ -161,12 +181,14 @@ public:
FVGridGeometryTuple
&&
fvGridGeometry
,
GridVariablesTuple
&&
gridVariables
,
std
::
shared_ptr
<
CouplingManager
>
couplingManager
,
std
::
shared_ptr
<
const
TimeLoop
>
timeLoop
)
std
::
shared_ptr
<
const
TimeLoop
>
timeLoop
,
const
SolutionVector
&
prevSol
)
:
couplingManager_
(
couplingManager
)
,
problemTuple_
(
problem
)
,
fvGridGeometryTuple_
(
fvGridGeometry
)
,
gridVariablesTuple_
(
gridVariables
)
,
timeLoop_
(
timeLoop
)
,
prevSol_
(
&
prevSol
)
,
isStationaryProblem_
(
false
)
{
std
::
cout
<<
"Instantiated assembler for an instationary problem."
<<
std
::
endl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment