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

Classes

class  ParameterStudy2DDemo
 [PAR_SIM2D:headers] More...
 

Functions

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

Function Documentation

◆ main()

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

[PAR_SIM2D:class]

[PAR_SIM2D:main]

131 {
132  //Problem constructor, using class definition above
134  // Setup the study dimensions that you want to perform
135  problem.setStudyDimensions(2,2);
136  // Setup the automatic numbering system (create/read COUNTER_DO_NOT_DEL file)
137  problem.autoNumber();
138  // Setup output file name
139  problem.setName("ParameterStudy2DDemo");
140  // General simulation settings
141  problem.setTimeStep(1e-5);
142  problem.setTimeMax(0.1);
143  problem.setSaveCount(5000);
144  problem.setXMin(0.0);
145  problem.setXMax(1.0);
146  problem.setYMin(0.0);
147  problem.setYMax(1.0);
148  problem.setZMin(0.0);
149  problem.setZMax(1.0);
150 
151  // Solve the problem
152  problem.solve();
153  // Give a successful exit code to the terminal
154  return 0;
155 }
Array< double, 1, 3 > e(1./3., 0.5, 2.)
[PAR_SIM2D:headers]
Definition: ParameterStudy2DDemo.cpp:15
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References e(), and problem.