diff --git a/dumux/decoupled/2p/impes/gridadaptionindicator2p.hh b/dumux/decoupled/2p/impes/gridadaptionindicator2p.hh index f5811ae1b52d1b1acb2509e01343f0d5df42cd73..22e9dd7b401edd6ce570114473994b99b3908249 100644 --- a/dumux/decoupled/2p/impes/gridadaptionindicator2p.hh +++ b/dumux/decoupled/2p/impes/gridadaptionindicator2p.hh @@ -82,12 +82,12 @@ public: ElementIterator eEndIt = problem_.gridView().template end<0>(); // 1) calculate Indicator -> min, maxvalues - // Schleife über alle Leaf-Elemente + // loop over all leaf-elements for (ElementIterator eIt = problem_.gridView().template begin<0>(); eIt != eEndIt; ++eIt) { - // Bestimme maximale und minimale Sättigung - // Index des aktuellen Leaf-Elements + // calculate minimum and maximum saturation + // index of the current leaf-elements int globalIdxI = problem_.variables().index(*eIt); Scalar satI = 0.0; @@ -104,7 +104,7 @@ public: globalMin = std::min(satI, globalMin); globalMax = std::max(satI, globalMax); - // Berechne Verfeinerungsindikator an allen Zellen + // calculate refinement indicator in all cells IntersectionIterator isItend = problem_.gridView().iend(*eIt); for (IntersectionIterator isIt = problem_.gridView().ibegin(*eIt); isIt != isItend; ++isIt) { diff --git a/dumux/decoupled/2p/impes/gridadaptionindicator2plocal.hh b/dumux/decoupled/2p/impes/gridadaptionindicator2plocal.hh index 2c331744d641c60efa93af6206658ea8500d41cc..da28a92614b692ce5b5059db1650dd4b42c2250e 100644 --- a/dumux/decoupled/2p/impes/gridadaptionindicator2plocal.hh +++ b/dumux/decoupled/2p/impes/gridadaptionindicator2plocal.hh @@ -85,12 +85,12 @@ public: ElementIterator eEndIt = problem_.gridView().template end<0>(); // 1) calculate Indicator -> min, maxvalues - // Schleife über alle Leaf-Elemente + // loop over all leaf-elements for (ElementIterator eIt = problem_.gridView().template begin<0>(); eIt != eEndIt; ++eIt) { - // Bestimme maximale und minimale Sättigung - // Index des aktuellen Leaf-Elements + // calculate minimum and maximum saturation + // index of the current leaf-elements int globalIdxI = problem_.variables().index(*eIt); if (refineAtSource_) @@ -126,7 +126,7 @@ public: globalMin = std::min(satI, globalMin); globalMax = std::max(satI, globalMax); - // Berechne Verfeinerungsindikator an allen Zellen + // calculate refinement indicator in all cells IntersectionIterator isItend = problem_.gridView().iend(*eIt); for (IntersectionIterator isIt = problem_.gridView().ibegin(*eIt); isIt != isItend; ++isIt) { @@ -136,7 +136,7 @@ public: } const typename IntersectionIterator::Intersection &intersection = *isIt; - // Steige aus, falls es sich nicht um einen Nachbarn handelt + // exit, if it is not a neighbor if (isIt->boundary()) { BoundaryTypes bcTypes; @@ -177,11 +177,11 @@ public: } else { - // Greife auf Nachbarn zu + // get element pointer from neighbor ElementPointer outside = intersection.outside(); int globalIdxJ = problem_.variables().index(*outside); - // Jede Intersection nur von einer Seite betrachten + // treat each intersection only from one side if (eIt->level() > outside->level() || (eIt->level() == outside->level() && globalIdxI < globalIdxJ)) { diff --git a/dumux/decoupled/2p/impes/gridadaptionindicator2plocalflux.hh b/dumux/decoupled/2p/impes/gridadaptionindicator2plocalflux.hh index 4919606b6e670a3d48ba350ac394f7c17e459cc6..f51fed45243e902e36461cac075fdb02e0c8e215 100644 --- a/dumux/decoupled/2p/impes/gridadaptionindicator2plocalflux.hh +++ b/dumux/decoupled/2p/impes/gridadaptionindicator2plocalflux.hh @@ -253,7 +253,7 @@ public: } const typename IntersectionIterator::Intersection &intersection = *isIt; - // Steige aus, falls es sich nicht um einen Nachbarn handelt + // exit, if it is not a neighbor if (isIt->boundary()) { BoundaryTypes bcTypes; diff --git a/dumux/implicit/3p/3plocalresidual.hh b/dumux/implicit/3p/3plocalresidual.hh index 4497a650f8480d6cea783dc0d31abcd7348430c7..a53b5f50462591ff0907d7621ef7d3c9fe5b8f7c 100644 --- a/dumux/implicit/3p/3plocalresidual.hh +++ b/dumux/implicit/3p/3plocalresidual.hh @@ -138,7 +138,7 @@ public: const VolumeVariables &dn = this->curVolVars_(fluxVars.downstreamIdx(phaseIdx)); // add advective flux of current phase - // if alpha > 0 und alpha < 1 then both upstream and downstream + // if alpha > 0 and alpha < 1 then both upstream and downstream // nodes need their contribution // if alpha == 1 (which is mostly the case) then, the downstream // node is not evaluated diff --git a/dumux/implicit/3p3c/3p3clocalresidual.hh b/dumux/implicit/3p3c/3p3clocalresidual.hh index 93c59dc6b3194f56ed1513ce847a11674e52fae9..3826c01a01190fd8a59c85a8e0aa70753eddc91e 100644 --- a/dumux/implicit/3p3c/3p3clocalresidual.hh +++ b/dumux/implicit/3p3c/3p3clocalresidual.hh @@ -157,7 +157,7 @@ public: { // add advective flux of current component in current // phase - // if alpha > 0 und alpha < 1 then both upstream and downstream + // if alpha > 0 and alpha < 1 then both upstream and downstream // nodes need their contribution // if alpha == 1 (which is mostly the case) then, the downstream // node is not evaluated diff --git a/test/implicit/mpnc/combustionproblem1c.hh b/test/implicit/mpnc/combustionproblem1c.hh index 0035f1b6a3a6fc04e7157830802e213ddf45309e..5021e253458c577ab019dee231b79725975a19a8 100644 --- a/test/implicit/mpnc/combustionproblem1c.hh +++ b/test/implicit/mpnc/combustionproblem1c.hh @@ -342,8 +342,8 @@ public: // Calculate storage terms of the individual phases for (int phaseIdx = 0; phaseIdx < numEnergyEqs; ++phaseIdx) { PrimaryVariables phaseStorage; - /* wieviel Erhaltungsgröße im System ist (in Einheit der Bilanzgleichung) - * Aufssummierte Storage term für das ganze System. + /* how much of the conserved quantity is in the system (in units of the balance eq.) + * summed up storage term over the whole system */ this->model().globalPhaseStorage(phaseStorage, phaseIdx);