58 std::vector<std::vector<double>>
d_J;
78 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
81 std::ostringstream oss;
82 oss << tabS <<
"------- QuadData --------" << std::endl << std::endl;
83 oss << tabS <<
"Weight = " <<
d_w << std::endl;
84 oss << tabS <<
"Point = " <<
d_p.
printStr() << std::endl;
90 oss << tabS <<
"Det(J) = " <<
d_detJ << std::endl;
102 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); };
Collection of methods and data related to finite element and mesh.
std::string getTabS(int nt)
Returns tab spaces of given size.
std::string printStr(const T &msg, int nt=print_default_tab)
Returns formatted string for output.
Collection of methods useful in simulation.
A struct to store the quadrature data. List of data are.
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.
double d_w
Quadrature weight.
void print(int nt=0, int lvl=0) const
Prints the information about the object.
util::Point d_p
Quadrature point in 1-d, 2-d or 3-d.
std::vector< std::vector< double > > d_J
Jacobian of the map from reference element to the element.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
double d_detJ
Determinant of the Jacobian of the map from reference element to the element.
A structure to represent 3d vectors.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.