153 void Solve(
double mech_time);
A class that represents a Peridigm block.
Definition peridigm_block.hpp:16
A class that represents a boundary condition for Peridigm.
Definition peridigm_boundary_condition.hpp:20
A class representing a damage model.
Definition peridigm_damage_model.hpp:18
A class representing the discretization of a peridynamic simulation.
Definition peridigm_discretization.hpp:19
A class representing the material properties used in a peridynamic simulation.
Definition peridigm_material.hpp:16
A class representing the settings used in a peridynamic simulation.
Definition peridigm_settings.hpp:18
A class representing a simulator for peridynamic simulations.
Definition peridigm_simulator.hpp:24
PeriDigmMaterial * InsertMaterial()
Inserts a new material into the simulation.
Definition peridigm_simulator.cpp:25
PeriDigmBoundaryCondition * InsertBoundaryCondition()
Inserts a new boundary condition into the simulation.
Definition peridigm_simulator.cpp:40
void InitDefaultSetup()
Initializes the default setup based on the discretization and using default material and damage model...
Definition peridigm_simulator.cpp:45
void WriteInputFile()
Writes the input file for the simulation in a format compatible with the Peridigm code.
Definition peridigm_simulator.cpp:138
VecXT< PeriDigmMaterial > materials
The materials used in the simulation.
Definition peridigm_simulator.hpp:36
void SetUpResultDirectory()
Sets up the result directory for writing output files.
Definition peridigm_simulator.cpp:220
PeriDigmSimulator()
Constructs a new PeriDigmSimulator object.
Definition peridigm_simulator.cpp:16
VecXT< PeriDigmBlock > blocks
The blocks used in the simulation.
Definition peridigm_simulator.hpp:51
PeriDigmBlock * InsertBlock()
Inserts a new block into the simulation.
Definition peridigm_simulator.cpp:35
PeriDigmSettings settings
The settings used in the simulation.
Definition peridigm_simulator.hpp:64
PeriDigmDamageModel * InsertDamageModel()
Inserts a new damage model into the simulation.
Definition peridigm_simulator.cpp:30
VecXT< PeriDigmBoundaryCondition > boundary_conditions
The boundary conditions used in the simulation.
Definition peridigm_simulator.hpp:59
void Clear()
Clears all of the materials, damage models, blocks, and boundary conditions from the simulation.
Definition peridigm_simulator.cpp:18
PeriDigmDiscretization discretization
The discretization used in the simulation.
Definition peridigm_simulator.hpp:29
void Solve(double mech_time)
Solves the simulation up to the specified mechanical time.
Definition peridigm_simulator.cpp:202
void CleanUpResultDirectory()
Cleans up the result directory after the simulation has completed.
Definition peridigm_simulator.cpp:225
void InitAutoTimestep()
Initializes an automatically computed timestep for the simulation.
Definition peridigm_simulator.cpp:80
void WriteNodeFile()
Writes the node file for the simulation.
Definition peridigm_simulator.cpp:128
void WriteNodeSetFile()
Writes the node set file for the simulation.
Definition peridigm_simulator.cpp:132
VecXT< PeriDigmDamageModel > damage_models
The damage models used in the simulation.
Definition peridigm_simulator.hpp:44
Definition bond_entry.hpp:7
std::vector< T > VecXT
Definition utils_macros.hpp:31