Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
8518668b
Commit
8518668b
authored
May 08, 2013
by
Praetorius, Simon
Browse files
small error in NavierStokes_TH_MultiPhase
parent
9bbfbc0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/base_problems/NavierStokes_TH_MultiPhase.cc
View file @
8518668b
...
...
@@ -80,7 +80,7 @@ void NavierStokes_TH_MultiPhase::fillOperators()
/// < (1/tau)*rho*u_i^old , psi >
Operator
*
opTimeOld
=
new
Operator
(
getFeSpace
(
i
),
getFeSpace
(
i
));
if
(
density1
==
density2
)
opTimeOld
->
addTerm
(
new
VecAtQP_ZOT
(
prob
->
getSolution
()
->
getDOFVector
(
i
),
new
AMDiS
::
Factor
(
density1
)));
opTimeOld
->
addTerm
(
new
VecAtQP_ZOT
(
prob
->
getSolution
()
->
getDOFVector
(
i
),
new
AMDiS
::
Factor
<
double
>
(
density1
)));
else
opTimeOld
->
addTerm
(
new
Vec2AtQP_ZOT
(
densityPhase
,
prob
->
getSolution
()
->
getDOFVector
(
i
),
NULL
));
prob
->
addVectorOperator
(
*
opTimeOld
,
i
,
getInvTau
(),
getInvTau
());
...
...
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