ParameterStudy3DDemo.cpp File Reference
#include "Mercury3D.h"
#include "Math/Helpers.h"
#include "Species/LinearViscoelasticFrictionSpecies.h"
#include <iostream>
#include <vector>

Classes

class  ParameterStudy3DDemo
 [PAR_SIM3D:headers] More...
 

Functions

int main (int argc UNUSED, char *argv[] UNUSED)
 [PAR_SIM3D:class] More...
 

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)

[PAR_SIM3D:class]

[PAR_SIM3D:main]

143 {
144  //Problem constructor, using class definition above
146  // Setup the study dimensions that you want to perform
147  problem.setStudyDimensions(2,2,3);
148  // Setup the automatic numbering system (create/read COUNTER_DO_NOT_DEL file)
149  problem.autoNumber();
150  // Setup output file name
151  problem.setName("ParameterStudy3DDemo");
152  // General simulation settings
153  problem.setTimeStep(1e-5);
154  problem.setTimeMax(0.1);
155  problem.setSaveCount(5000);
156  problem.setXMin(0.0);
157  problem.setXMax(1.0);
158  problem.setYMin(0.0);
159  problem.setYMax(1.0);
160  problem.setZMin(0.0);
161  problem.setZMax(1.0);
162 
163  // Solve the problem
164  problem.solve();
165  // Give a successful exit code to the terminal
166  return 0;
167 }
Array< double, 1, 3 > e(1./3., 0.5, 2.)
[PAR_SIM3D:headers]
Definition: ParameterStudy3DDemo.cpp:15
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References e(), and problem.