BoundariesSelfTest.cpp File Reference
#include "Mercury2D.h"
#include "Boundaries/CubeInsertionBoundary.h"
#include "Boundaries/DeletionBoundary.h"
#include "Boundaries/FluxBoundary.h"
#include "Species/LinearViscoelasticFrictionSpecies.h"
#include <iostream>
#include <cassert>
#include <cstdlib>
#include <cstring>
#include "Math/RNG.h"
#include "Math/ExtendedMath.h"
#include "File.h"

Classes

class  BoundariesSelfTest
 

Functions

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

Variables

FILE * flux_f
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)
160 {
161  flux_f = fopen("BoundariesSelfTest.flux", "w");
162  fprintf(flux_f, "time mass insb_num insb_mass insb_vol fluxb_num fluxb_mass fluxb_vol delb_num delb_mass delb_vol\n");
163  setbuf(flux_f, nullptr);
164  BoundariesSelfTest problem;
165  problem.setName("BoundariesSelfTest");
166  fprintf(stdout, "Initialising the problem\n");
167  problem.solve();
168  fclose(flux_f);
169 }
FILE * flux_f
Definition: BoundariesSelfTest.cpp:39
Definition: BoundariesSelfTest.cpp:44
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270

References flux_f, DPMBase::setName(), and DPMBase::solve().

Variable Documentation

◆ flux_f

FILE* flux_f