Skip to content
Snippets Groups Projects
Commit 78e24147 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[ImplicitModel] Remove fvGeometry from function calls

parent 76dab24b
No related branches found
No related tags found
1 merge request!617[WIP] Next
...@@ -139,7 +139,7 @@ public: ...@@ -139,7 +139,7 @@ public:
bcTypes_.update(problem_(), element_(), fvElemGeom_()); bcTypes_.update(problem_(), element_(), fvElemGeom_());
// calculate the local residual // calculate the local residual
localResidual().eval(element_(), fvElemGeom_(), bcTypes_); localResidual().eval(element_(), bcTypes_);
residual_ = localResidual().residual(); residual_ = localResidual().residual();
model_().updatePVWeights(fvElemGeom_()); model_().updatePVWeights(fvElemGeom_());
...@@ -406,7 +406,7 @@ protected: ...@@ -406,7 +406,7 @@ protected:
model_().curVolVars(scv).update(priVars, problem_(), element_(), scv); model_().curVolVars(scv).update(priVars, problem_(), element_(), scv);
// calculate the residual with the deflected primary variables // calculate the residual with the deflected primary variables
localResidual().eval(element_(), fvElemGeom_(), bcTypes_); localResidual().eval(element_(), bcTypes_);
// store the residual and the storage term // store the residual and the storage term
partialDeriv = localResidual().residual(); partialDeriv = localResidual().residual();
...@@ -432,7 +432,7 @@ protected: ...@@ -432,7 +432,7 @@ protected:
model_().curVolVars(scv).update(priVars, problem_(), element_(), scv); model_().curVolVars(scv).update(priVars, problem_(), element_(), scv);
// calculate the residual with the deflected primary variables // calculate the residual with the deflected primary variables
localResidual().eval(element_(), fvElemGeom_(), bcTypes_); localResidual().eval(element_(), bcTypes_);
// subtract the residual from the derivative storage // subtract the residual from the derivative storage
partialDeriv -= localResidual().residual(); partialDeriv -= localResidual().residual();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment