50 os <<
" My Block " + std::to_string(block_id + 1) +
": " << std::endl;
51 os <<
" Block Names: \"block_" + std::to_string(block_id + 1) +
"\""
53 os <<
" Material: \"My Material " + std::to_string(
material_id + 1) +
56 os <<
" Damage Model: \"My Damage Model " +
static std::string ToString(int value)
Definition utils_io.cpp:27
A class that represents a Peridigm block.
Definition peridigm_block.hpp:16
int material_id
The ID of the material associated with the block.
Definition peridigm_block.hpp:26
void WriteInputFile(std::ostream &os, int block_id)
Writes the input file for the block to the given output stream.
Definition peridigm_block.hpp:49
int damage_model_id
The ID of the damage model associated with the block.
Definition peridigm_block.hpp:31
VecXT< int > node_indices
The indices of the nodes in the block.
Definition peridigm_block.hpp:21
double horizon
The horizon used for neighbor search in the block.
Definition peridigm_block.hpp:36
Definition bond_entry.hpp:7
std::vector< T > VecXT
Definition utils_macros.hpp:31