![]() |
PeriDEM 0.3.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 |
| Derivatives of shape functions at the quad point. | |
| 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 65 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 98 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 74 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 |
Derivatives of shape functions at the quad point.
On the reference element this is dN/dξ. After getQuadDatas it is physical dN/dx. Size is number of nodes; d_derShapes[i][j] is derivative of N_i in coordinate j.
Definition at line 46 of file quadData.h.
Referenced by fe::HexElem::init(), 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 60 of file quadData.h.
Referenced by fe::HexElem::init(), 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 54 of file quadData.h.
Referenced by fe::HexElem::init(), 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::HexElem::init(), 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::HexElem::init(), 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::HexElem::init(), fe::LineElem::init(), fe::QuadElem::init(), fe::TetElem::init(), fe::TriElem::init(), printStr(), and test::testTriElemTime().