NetDEM v1.0
|
A class that represents a Peridigm block. More...
#include <peridigm_block.hpp>
Public Member Functions | |
void | WriteInputFile (std::ostream &os, int block_id) |
Writes the input file for the block to the given output stream. | |
Public Attributes | |
VecXT< int > | node_indices |
The indices of the nodes in the block. | |
int | material_id |
The ID of the material associated with the block. | |
int | damage_model_id |
The ID of the damage model associated with the block. | |
double | horizon |
The horizon used for neighbor search in the block. | |
A class that represents a Peridigm block.
This class represents a Peridigm block, which is a group of nodes that share the same material properties and damage model. The nodes are identified by their indices in the discretized domain.
|
inline |
Writes the input file for the block to the given output stream.
This method writes the input file for the block to the given output stream in the format expected by Peridigm. It includes the block ID, the names of the block and its associated material and damage models, and the horizon value.
os | The output stream to write the input file to. |
block_id | The ID of the block to write the input file for. |
int netdem::PeriDigmBlock::damage_model_id |
The ID of the damage model associated with the block.
double netdem::PeriDigmBlock::horizon |
The horizon used for neighbor search in the block.
int netdem::PeriDigmBlock::material_id |
The ID of the material associated with the block.
VecXT<int> netdem::PeriDigmBlock::node_indices |
The indices of the nodes in the block.