Commit 77417fcc authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

implement naming convention nDofs, numDOFs -> numDofs

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11599 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 3b505a9a
......@@ -685,10 +685,10 @@ public:
InitialDisplacement> InitialSolution;
InitialSolution initialSolution(initialPressSat, initialDisplacement);
int numDOFs = this->jacobianAssembler().gridFunctionSpace().size();
this->curSol().resize(numDOFs);
this->prevSol().resize(numDOFs);
std::cout << "numDOFs = " << numDOFs << std::endl;
int numDofs = this->jacobianAssembler().gridFunctionSpace().size();
this->curSol().resize(numDofs);
this->prevSol().resize(numDofs);
std::cout << "numDofs = " << numDofs << std::endl;
Dune::PDELab::interpolate(initialSolution,
this->jacobianAssembler().gridFunctionSpace(), this->curSol());
......
......@@ -105,11 +105,11 @@ public:
updateBoundaryIndices_();
int nDofs = asImp_().numDofs();
uCur_.resize(nDofs);
uPrev_.resize(nDofs);
int numDofs = asImp_().numDofs();
uCur_.resize(numDofs);
uPrev_.resize(numDofs);
if (isBox)
boxVolume_.resize(nDofs);
boxVolume_.resize(numDofs);
localJacobian_.init(problem_());
jacAsm_ = Dune::make_shared<JacobianAssembler>();
......
......@@ -97,9 +97,9 @@ public:
this->resizeScalarBuffer_(boundaryTypes_, isBox);
if (velocityOutput_.enableOutput()) {
Scalar nDofs = this->problem_.model().numDofs();
Scalar numDofs = this->problem_.model().numDofs();
for (int phaseIdx = 0; phaseIdx < numPhases; ++phaseIdx) {
velocity_[phaseIdx].resize(nDofs);
velocity_[phaseIdx].resize(numDofs);
velocity_[phaseIdx] = 0;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment