Represents a body in the space forming by a group of materials points and identified by a number.
Definition Body.h:15
Class representing a rectangular grid mesh.
Definition Mesh.h:26
Operations to write the results and the mesh for its visualization.
void writeBody(Body *body, double time=0.0)
Write the particles in a body.
void initFieldsKeyWords()
Initialize the keywords of the fields.
void writeInitialState(vector< Body * > *bodies, double iTime, Mesh *mesh)
Write the initial state of the simulation.
CellType
Definition Output.h:20
@ CELLS
Definition Output.h:20
@ POINTS
Definition Output.h:20
void writeResultInStep(int resultSteps, vector< Particle * > *particles, double iTime)
Write results if the step is the step result.
void farewellScreen()
Print final program screen.
void printElapsedTime()
Print elapsed time.
void configureResultFiels(vector< string > fields)
Configures the fields to be written.
bool isGridFieldRequired(string field)
Verify is the field must be written.
void configureGridResultFiels(vector< string > fields)
Configures the grid fields to be written.
bool isFieldRequired(string field)
Verify is the grid field must be written.
void writeGrid(Mesh *mesh, CellType cell_type_representation=CellType::CELLS, double time=0.0)
Write the grid mesh into a vtu file.
void writeGridInStep(int resultSteps, Mesh *mesh, double iTime)
Write grid results if the step is the step result.
void writeParticles(vector< Particle * > *particles, double time=0.0)
Write the particles of the model into a vtu file.
void writeResultsSeries()
Write the time series of the results.
void writeBodies(vector< Body * > *bodies, double time=0.0)
Write the particles forming bodies.
void welcomeScreen()
Print initial program screen.