Commit 4b3df2d7 authored by frey_m's avatar frey_m
Browse files

use member variable

parent 559191f1
......@@ -168,11 +168,11 @@ void EllipticDomain::resizeMesh(Vector_t& origin, Vector_t& hr, const Vector_t&
// apply bounding box increment dh, i.e., "BBOXINCR" input argument
double zsize = rmax[2] - rmin[2];
double zmin = rmin[2] - zsize * (1.0 + dh);
double zmax = rmax[2] + zsize * (1.0 + dh);
zMin_m = rmin[2] - zsize * (1.0 + dh);
zMax_m = rmax[2] + zsize * (1.0 + dh);
origin = Vector_t(-semiMajor_m, -semiMinor_m, zmin);
mymax = Vector_t( semiMajor_m, semiMinor_m, zmax);
origin = Vector_t(-semiMajor_m, -semiMinor_m, zMin_m);
mymax = Vector_t( semiMajor_m, semiMinor_m, zMax_m);
for (int i = 0; i < 3; ++i)
hr[i] = (mymax[i] - origin[i]) / nr[i];
......
Markdown is supported
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