FluxBoundarySelfTest.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  FluxBoundarySelfTest
 

Functions

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

Variables

FILE * flux_f
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)
153 {
154  flux_f = fopen("FluxBoundarySelfTest.flux", "w");
155  fprintf(flux_f, "time mass insbA_num insbA_mass insbA_vol insbB_num insbB_mass insbB_vol ");
156  fprintf(flux_f, "flux_num_forw flux_mass_forw flux_vol_forw flux_num_back flux_mass_back flux_vol_back\n");
157  setbuf(flux_f, nullptr);
158  FluxBoundarySelfTest problem;
159  problem.setName("FluxBoundarySelfTest");
160  fprintf(stdout, "Initialising the problem\n");
161  problem.solve();
162  fclose(flux_f);
163 }
FILE * flux_f
Definition: FluxBoundarySelfTest.cpp:39
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
Definition: FluxBoundarySelfTest.cpp:42

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

Variable Documentation

◆ flux_f

FILE* flux_f