30 #include "GaussPoint.h" 31 #include "xc_utils/src/geom/pos_vec/Pos2d.h" 32 #include "xc_utils/src/geom/pos_vec/Pos3d.h" 47 GaussModel(
const Pos2d &n1,
const Pos2d &n2,
const Pos2d &n3,
49 GaussModel(
const Pos2d &n1,
const Pos2d &n2,
const Pos2d &n3,
51 GaussModel(
const Pos2d &n1,
const Pos2d &n2,
const Pos2d &n3,
const Pos2d &n4,
53 GaussModel(
const Pos2d &n1,
const Pos2d &n2,
const Pos2d &n3,
const Pos2d &n4,
54 const Pos2d &n5,
const Pos2d &n6,
const Pos2d &n7,
const Pos2d &n8,
const Pos2d &n9,
58 inline size_t getNumberOfReferenceNodes(
void)
const 59 {
return coo_ref_nodes.size(); }
60 const std::deque<Pos3d> &getReferenceNodesPositions(
void)
const 62 inline size_t getNumGaussPoints(
void)
const 63 {
return gauss_points.size(); }
64 const std::deque<GaussPoint> &getPuntosGauss(
void)
const 70 const GaussModel gauss_model_tria1(Pos2d(0,0),Pos2d(1,0),Pos2d(0,1),
71 GaussPoint(Pos2d(0.333333333333333,0.333333333333333),0.5));
73 const GaussModel gauss_model_tria3(Pos2d(0,0),Pos2d(1,0),Pos2d(0,1),
77 const double root3= sqrt(3.0);
78 const double one_over_root3= 1.0/root3;
79 const GaussModel gauss_model_quad4(Pos2d(-1,-1),Pos2d(1,-1),Pos2d(1,1),Pos2d(-1,1),
80 GaussPoint(Pos2d(-one_over_root3,-one_over_root3),1),
81 GaussPoint(Pos2d(one_over_root3,-one_over_root3),1),
82 GaussPoint(Pos2d(one_over_root3,one_over_root3),1),
83 GaussPoint(Pos2d(-one_over_root3,one_over_root3),1));
85 const double root5= sqrt(5.0);
86 const double root3_over_root5= root3/root5;
96 const GaussModel gauss_model_quad9(Pos2d(-1,-1),Pos2d(0,-1),Pos2d(1,-1),Pos2d(1,0),
97 Pos2d(1,1),Pos2d(0,1),Pos2d(-1,1),Pos2d(-1,0),Pos2d(0,0),
98 GaussPoint(Pos2d(-root3_over_root5,-root3_over_root5),25.0/81.0),
99 GaussPoint(Pos2d(0,-root3_over_root5),40.0/81.0),
100 GaussPoint(Pos2d(root3_over_root5,-root3_over_root5),25.0/81.0),
101 GaussPoint(Pos2d(root3_over_root5,0),40.0 / 81.0),
102 GaussPoint(Pos2d(root3_over_root5,root3_over_root5),25.0 / 81.0),
103 GaussPoint(Pos2d(0,root3_over_root5),40.0 / 81.0),
104 GaussPoint(Pos2d(-root3_over_root5,root3_over_root5),25.0 / 81.0),
105 GaussPoint(Pos2d(-root3_over_root5,0),40.0 / 81.0),
Base class for Gauss integration models.
Definition: GaussModel.h:40
3D position of Gauss points.
Definition: GaussPoint.h:37
std::deque< GaussPoint > gauss_points
Gauss points.
Definition: GaussModel.h:44
std::deque< Pos3d > coo_ref_nodes
Coordinates of the reference nodes.
Definition: GaussModel.h:43
================================================================================
Definition: ContinuaReprComponent.h:34
GaussModel(void)
Constructor.
Definition: GaussModel.cc:31