https://mooseframework.inl.gov
Namespaces | Functions
XFEMFuncs.C File Reference

Go to the source code of this file.

Namespaces

 Xfem
 

Functions

void Xfem::dunavant_rule2 (const Real *wts, const Real *a, const Real *b, const unsigned int *permutation_ids, unsigned int n_wts, std::vector< Point > &points, std::vector< Real > &weights)
 
void Xfem::stdQuadr2D (unsigned int nen, unsigned int iord, std::vector< std::vector< Real >> &sg2)
 
void Xfem::wissmannPoints (unsigned int nqp, std::vector< std::vector< Real >> &wss)
 
void Xfem::shapeFunc2D (unsigned int nen, std::vector< Real > &ss, std::vector< Point > &xl, std::vector< std::vector< Real >> &shp, Real &xsj, bool natl_flg)
 
double Xfem::r8vec_norm (int n, double a[])
 
void Xfem::r8vec_copy (int n, double a1[], double a2[])
 
bool Xfem::r8vec_eq (int n, double a1[], double a2[])
 
double Xfem::r8vec_dot_product (int n, double a1[], double a2[])
 
bool Xfem::line_exp_is_degenerate_nd (int dim_num, double p1[], double p2[])
 
int Xfem::plane_normal_line_exp_int_3d (double pp[3], double normal[3], double p1[3], double p2[3], double pint[3])
 
double Xfem::polyhedron_volume_3d (double coord[], int order_max, int face_num, int node[], int node_num, int order[])
 
void Xfem::i4vec_zero (int n, int a[])
 
void Xfem::normalizePoint (Point &p)
 
void Xfem::normalizePoint (EFAPoint &p)
 
double Xfem::r8_acos (double c)
 
double Xfem::angle_rad_3d (double p1[3], double p2[3], double p3[3])
 
bool Xfem::intersectSegmentWithCutLine (const Point &segment_point1, const Point &segment_point2, const std::pair< Point, Point > &cutting_line_points, const Real &cutting_line_fraction, Real &segment_intersection_fraction)
 Determine whether a line segment is intersected by a cutting line, and compute the fraction along that line where the intersection occurs. More...
 
Real Xfem::crossProduct2D (const Point &point_a, const Point &point_b)
 Compute the cross product of two vectors, provided as Point objects, which have nonzero components only in the x,y plane. More...
 
Real Xfem::pointSegmentDistance (const Point &x0, const Point &x1, const Point &x2, Point &xp)
 Calculate the signed distance from a point to a line segment. More...
 
Real Xfem::pointTriangleDistance (const Point &x0, const Point &x1, const Point &x2, const Point &x3, Point &xp, unsigned int &region)
 Calculate the signed distance from a point to a triangle. More...
 
bool Xfem::intersectWithEdge (const Point &p1, const Point &p2, const std::vector< Point > &vertices, Point &pint)
 check if a line intersects with an element defined by vertices calculate the distance from a point to triangle. More...
 
bool Xfem::isInsideEdge (const Point &p1, const Point &p2, const Point &p)
 check if point is inside the straight edge p1-p2 More...
 
Real Xfem::getRelativePosition (const Point &p1, const Point &p2, const Point &p)
 Get the relative position of p from p1 respect to the total length of the line segment. More...
 
bool Xfem::isInsideCutPlane (const std::vector< Point > &vertices, const Point &p)
 Check if point p is inside a plane. More...