NLMech  0.1.0
inp::MaterialDeck Struct Reference

Structure to read and store material related data. More...

#include <materialDeck.h>

Collaboration diagram for inp::MaterialDeck:
Collaboration graph

Public Member Functions

 MaterialDeck ()
 Constructor.
 
void print (int nt=0, int lvl=0) const
 Prints the information. More...
 
std::string printStr (int nt=0, int lvl=0) const
 Prints the information. More...
 

Data Fields

bool d_applyContact
 Enable non-penetration of broken bonds.
 
std::vector< double > d_bondPotentialParams
 List of parameters for pairwise potential.
 
size_t d_bondPotentialType
 Type of pairwise (bond-based) potential.
 
double d_checkScFactor
 Factor to check if bond is broken.
 
bool d_computeParamsFromElastic
 Compute Peridynamic material properties from elastic properties.
 
double d_density
 Density of material.
 
std::vector< double > d_influenceFnParams
 List of parameters for influence function.
 
size_t d_influenceFnType
 Type of influence function.
 
bool d_irreversibleBondBreak
 Flag for irreversible breaking of bonds. More...
 
bool d_isPlaneStrain
 Indicates if the 2-d simulation is of plane-strain type (thick material) or plane-stress type (thin material)
 
inp::MatData d_matData
 List of elastic and fracture properties.
 
std::string d_materialType
 Material type.
 
bool d_stateContributionFromBrokenBond
 Flag for contribution to hydrostatic force from the broken bond.
 
std::vector< double > d_statePotentialParams
 List of parameters for hydrostatic potential.
 
size_t d_statePotentialType
 Type of hydrostatic (state-based) potential.
 

Detailed Description

Structure to read and store material related data.

Member Function Documentation

◆ print()

void inp::MaterialDeck::print ( int  nt = 0,
int  lvl = 0 
) const
inline

Prints the information.

Parameters
ntNumber of tabs to append before printing
lvlInformation level (higher means more information)
Here is the call graph for this function:

◆ printStr()

std::string inp::MaterialDeck::printStr ( int  nt = 0,
int  lvl = 0 
) const
inline

Prints the information.

Parameters
ntNumber of tabs to append before printing
lvlInformation level (higher means more information)
Returns
The string to be printed

Referenced by print().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ d_irreversibleBondBreak

bool inp::MaterialDeck::d_irreversibleBondBreak

Flag for irreversible breaking of bonds.

True means bond breaking is irreversible.

Referenced by printStr(), and material::pd::RNPBond::RNPBond().


The documentation for this struct was generated from the following file: