PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
A struct to store the quadrature data. List of data are. More...
#include <quadData.h>
Public Member Functions | |
QuadData () | |
Constructor. | |
std::string | printStr (int nt=0, int lvl=0) const |
Returns the string containing printable information about the object. | |
void | print (int nt=0, int lvl=0) const |
Prints the information about the object. | |
Data Fields | |
double | d_w |
Quadrature weight. | |
util::Point | d_p |
Quadrature point in 1-d, 2-d or 3-d. | |
std::vector< double > | d_shapes |
Value of shape functions at quad point p. | |
std::vector< std::vector< double > > | d_derShapes |
Value of derivative of shape functions at quad point p. | |
std::vector< std::vector< double > > | d_J |
Jacobian of the map from reference element to the element. | |
double | d_detJ |
Determinant of the Jacobian of the map from reference element to the element. | |
A struct to store the quadrature data. List of data are.
Definition at line 23 of file quadData.h.
|
inline |
Constructor.
Definition at line 69 of file quadData.h.
|
inline |
Prints the information about the object.
nt | Number of tabs to append before printing |
lvl | Information level (higher means more information) |
Definition at line 102 of file quadData.h.
References printStr().
|
inline |
Returns the string containing printable information about the object.
nt | Number of tabs to append before printing |
lvl | Information level (higher means more information) |
Definition at line 78 of file quadData.h.
References d_derShapes, d_detJ, d_J, d_p, d_shapes, d_w, util::io::getTabS(), util::io::printStr(), and util::Point::printStr().
Referenced by print().
std::vector<std::vector<double> > fe::QuadData::d_derShapes |
Value of derivative of shape functions at quad point p.
Size will be the number of vertices the element has. E.g. for triangle element shapes will have three entries.
x-derivative of ith shape function is d_derShapes[i][0]
y-derivative of ith shape function is d_derShapes[i][1]
Definition at line 50 of file quadData.h.
Referenced by fe::LineElem::init(), fe::QuadElem::init(), fe::TetElem::init(), fe::TriElem::init(), and printStr().
double fe::QuadData::d_detJ |
Determinant of the Jacobian of the map from reference element to the element.
Definition at line 64 of file quadData.h.
Referenced by fe::LineElem::init(), fe::QuadElem::init(), fe::TetElem::init(), fe::TriElem::init(), and printStr().
std::vector<std::vector<double> > fe::QuadData::d_J |
Jacobian of the map from reference element to the element.
In 1-d, size is 1, 2-d size is \( 2\times 2\), and in 3-d size is \( 3\times 3\).
Definition at line 58 of file quadData.h.
Referenced by fe::LineElem::init(), fe::QuadElem::init(), fe::TetElem::init(), fe::TriElem::init(), and printStr().
util::Point fe::QuadData::d_p |
Quadrature point in 1-d, 2-d or 3-d.
Definition at line 29 of file quadData.h.
Referenced by fe::LineElem::init(), fe::QuadElem::init(), fe::TetElem::init(), fe::TriElem::init(), and printStr().
std::vector<double> fe::QuadData::d_shapes |
Value of shape functions at quad point p.
Size will be the number of vertices the element has. E.g. for triangle element shapes will have three entries.
Definition at line 37 of file quadData.h.
Referenced by fe::LineElem::init(), fe::QuadElem::init(), fe::TetElem::init(), fe::TriElem::init(), printStr(), and test::testTriElemTime().
double fe::QuadData::d_w |
Quadrature weight.
Definition at line 26 of file quadData.h.
Referenced by fe::LineElem::init(), fe::QuadElem::init(), fe::TetElem::init(), fe::TriElem::init(), printStr(), and test::testTriElemTime().