Skip to content
Snippets Groups Projects
Commit accd6377 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

Merge branch 'feature/make-fluxvars-default-constructible' into 'master'

[multidomain] Construct FluxVariables in new manner



See merge request !106
parents 3d61f815 d67d5c96
No related branches found
No related tags found
1 merge request!106[multidomain] Construct FluxVariables in new manner
...@@ -126,12 +126,13 @@ public: ...@@ -126,12 +126,13 @@ public:
continue; continue;
const int boundaryFaceIdx = this->fvGeometry_().boundaryFaceIndex(fIdx, faceVertexIdx); const int boundaryFaceIdx = this->fvGeometry_().boundaryFaceIndex(fIdx, faceVertexIdx);
const FluxVariables boundaryVars(this->problem_(), FluxVariables boundaryVars;
this->element_(), boundaryVars.update(this->problem_(),
this->fvGeometry_(), this->element_(),
boundaryFaceIdx, this->fvGeometry_(),
this->curVolVars_(), boundaryFaceIdx,
true); this->curVolVars_(),
true);
const VolumeVariables &volVars = this->curVolVars_()[scvIdx]; const VolumeVariables &volVars = this->curVolVars_()[scvIdx];
......
...@@ -300,18 +300,20 @@ public: ...@@ -300,18 +300,20 @@ public:
globalProblem_.sdProblem1().boundaryTypes(cParams.boundaryTypes1, vPtr1); globalProblem_.sdProblem1().boundaryTypes(cParams.boundaryTypes1, vPtr1);
globalProblem_.sdProblem2().boundaryTypes(cParams.boundaryTypes2, vPtr2); globalProblem_.sdProblem2().boundaryTypes(cParams.boundaryTypes2, vPtr2);
const BoundaryVariables1 boundaryVars1(globalProblem_.sdProblem1(), BoundaryVariables1 boundaryVars1;
sdElement1, boundaryVars1.update(globalProblem_.sdProblem1(),
cParams.fvGeometry1, sdElement1,
boundaryFaceIdx1, cParams.fvGeometry1,
cParams.elemVolVarsCur1, boundaryFaceIdx1,
/*onBoundary=*/true); cParams.elemVolVarsCur1,
const BoundaryVariables2 boundaryVars2(globalProblem_.sdProblem2(), /*onBoundary=*/true);
sdElement2, BoundaryVariables2 boundaryVars2;
cParams.fvGeometry2, boundaryVars2.update(globalProblem_.sdProblem2(),
boundaryFaceIdx2, sdElement2,
cParams.elemVolVarsCur2, cParams.fvGeometry2,
/*onBoundary=*/true); boundaryFaceIdx2,
cParams.elemVolVarsCur2,
/*onBoundary=*/true);
asImp_()->evalCoupling(lfsu1, lfsu2, asImp_()->evalCoupling(lfsu1, lfsu2,
vertInElem1, vertInElem2, vertInElem1, vertInElem2,
......
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