114 double elemSize(
const std::vector<util::Point3> &nodes)
override;
129 const std::vector<util::Point3> &nodes)
override;
178 std::vector<std::vector<double>>
180 const std::vector<util::Point3> &nodes)
override;
225 std::vector<fe::QuadData>
226 getQuadDatas(
const std::vector<util::Point3> &nodes)
override;
243 std::vector<fe::QuadData>
244 getQuadPoints(
const std::vector<util::Point3> &nodes)
override;
255 std::string
printStr(
int nt = 0,
int lvl = 0)
const;
264 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); };
317 const std::vector<util::Point3> &nodes)
override;
328 const std::vector<util::Point3> &nodes,
329 std::vector<std::vector<double>> *J)
override;
334 void init()
override;
A base class which provides methods to map points to/from reference element and to compute quadrature...
Definition: baseElem.h:82
A class for mapping and quadrature related operations for linear triangle element.
Definition: triElem.h:89
std::vector< double > getShapes(const util::Point3 &p, const std::vector< util::Point3 > &nodes) override
Returns the values of shape function at point p.
Definition: triElem.cpp:27
double getJacobian(const util::Point3 &p, const std::vector< util::Point3 > &nodes, std::vector< std::vector< double >> *J) override
Computes the Jacobian of map .
Definition: triElem.cpp:161
void print(int nt=0, int lvl=0) const
Prints the information about the instance of the object.
Definition: triElem.h:264
std::vector< std::vector< double > > getDerShapes(const util::Point3 &p, const std::vector< util::Point3 > &nodes) override
Returns the values of derivative of shape function at point p.
Definition: triElem.cpp:32
std::vector< fe::QuadData > getQuadDatas(const std::vector< util::Point3 > &nodes) override
Get vector of quadrature data.
Definition: triElem.cpp:54
util::Point3 mapPointToRefElem(const util::Point3 &p, const std::vector< util::Point3 > &nodes) override
Maps point p in a given element to the reference element.
Definition: triElem.cpp:131
double elemSize(const std::vector< util::Point3 > &nodes) override
Returns the area of element.
Definition: triElem.cpp:22
void init() override
Compute the quadrature points for triangle element.
Definition: triElem.cpp:178
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing information about the instance of the object.
Definition: triElem.cpp:407
std::vector< fe::QuadData > getQuadPoints(const std::vector< util::Point3 > &nodes) override
Get vector of quadrature data.
Definition: triElem.cpp:94
TriElem(size_t order)
Constructor.
Definition: triElem.cpp:16
Collection of methods and data related to finite element and mesh.
Definition: baseElem.h:15
A structure to represent 3d vectors.
Definition: point.h:29