127 setlocale(LC_ALL,
"C");
133 double A0 =
problem.getTotalsurfaceAreaFromFile(
problem.getName() +
"Wall_0.vtu");
134 double A1 =
problem.getTotalsurfaceAreaFromFile(
problem.getName() +
"Wall_1.vtu");
136 double checkedArea = 4.0;
137 helpers::check(A0, A1, 0,
"Surface areas of first object are equal");
145 double A0 =
problem.getTotalsurfaceAreaFromFile(
problem.getName() +
"Wall_0.vtu");
146 double A1 =
problem.getTotalsurfaceAreaFromFile(
problem.getName() +
"Wall_1.vtu");
148 double checkedArea = 675075.0;
149 helpers::check(A0, A1, 0,
"Surface areas of second object are equal");
150 helpers::check(A0, checkedArea, 1
e-1,
"Surface area of second object");
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Definition: WriteWallSurfaceAreaVTKUnitTest.cpp:15
void check(double real, double ideal, double error, std::string errorMessage)
Definition: TestHelpers.cc:16
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213