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

Classes

class  ParameterStudy1DDemo
 [PAR_SIM1D:headers] More...
 

Functions

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

Function Documentation

◆ main()

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

[PAR_SIM1D:class]

[PAR_SIM1D:main]

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

References e(), and problem.