NLMech  0.1.0
inp::MeshDeck Struct Reference

Structure to read and store mesh related input data. More...

#include <meshDeck.h>

Collaboration diagram for inp::MeshDeck:
Collaboration graph

Public Member Functions

 MeshDeck ()
 Constructor.
 
void print (int nt=0, int lvl=0) const
 Prints the information about the instance of the object. More...
 
std::string printStr (int nt=0, int lvl=0) const
 Returns the string containing information about the instance of the object. More...
 

Data Fields

bool d_computeMeshSize
 Flag which indicates if mesh size is to be computed.
 
size_t d_dim
 Dimension.
 
std::string d_filename
 Filename to read mesh data.
 
double d_h
 Mesh size.
 
bool d_isCentroidBasedDiscretization
 Centroid based discretization.
 
bool d_keepElementConn
 Specify if we keep the element-node connectivity data.
 
bool d_loadPUMData
 Specify if coupling data from PUM is loaded.
 
std::string d_spatialDiscretization
 Tag for spatial discretization. More...
 

Detailed Description

Structure to read and store mesh related input data.

Member Function Documentation

◆ print()

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

Prints the information about the instance of the object.

Parameters
ntNumber of tabs to append before each line of string
lvlLevel of information sought (higher level means more information)
Here is the call graph for this function:

◆ printStr()

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

Returns the string containing information about the instance of the object.

Parameters
ntNumber of tabs to append before each line of string
lvlLevel of information sought (higher level means more information)
Returns
string String containing information about this object

Referenced by print().

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

Field Documentation

◆ d_spatialDiscretization

std::string inp::MeshDeck::d_spatialDiscretization

Tag for spatial discretization.

List of allowed values are:

  • finite_difference
  • weak_finite_element
  • nodal_finite_element
  • truss_finite_element

Referenced by printStr(), and fe::Mesh::readFromFile().


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