![]() |
MFEM
v4.6.0
Finite element discretization library
|
Go to the source code of this file.
Functions | |
double | circle_level_set (const Vector &x) |
double | in_circle (const Vector &x, const Vector &x_center, double radius) |
double | in_trapezium (const Vector &x, double a, double b, double l) |
double | in_parabola (const Vector &x, double h, double k, double t) |
double | in_rectangle (const Vector &x, double xc, double yc, double w, double h) |
double | reactor (const Vector &x) |
double | in_cube (const Vector &x, double xc, double yc, double zc, double lx, double ly, double lz) |
double | in_pipe (const Vector &x, int pipedir, Vector x_pipe_center, double radius, double minv, double maxv) |
double | r_intersect (double r1, double r2) |
double | r_union (double r1, double r2) |
double | r_remove (double r1, double r2) |
double | csg_cubecylsph (const Vector &x) |
void | ModifyBoundaryAttributesForNodeMovement (ParMesh *pmesh, ParGridFunction &x) |
void | ModifyAttributeForMarkingDOFS (ParMesh *pmesh, ParGridFunction &mat, int attr_to_switch) |
void | OptimizeMeshWithAMRAroundZeroLevelSet (ParMesh &pmesh, FunctionCoefficient &ls_coeff, int amr_iter, ParGridFunction &distance_s, const int quad_order=5, Array< ParGridFunction *> *pgf_to_update=NULL) |
void | ComputeScalarDistanceFromLevelSet (ParMesh &pmesh, FunctionCoefficient &ls_coeff, ParGridFunction &distance_s, const int nDiffuse=2, const int pLapOrder=5, const int pLapNewton=50) |
double circle_level_set | ( | const Vector & | x | ) |
Definition at line 20 of file mesh-fitting.hpp.
void ComputeScalarDistanceFromLevelSet | ( | ParMesh & | pmesh, |
FunctionCoefficient & | ls_coeff, | ||
ParGridFunction & | distance_s, | ||
const int | nDiffuse = 2 , |
||
const int | pLapOrder = 5 , |
||
const int | pLapNewton = 50 |
||
) |
Definition at line 444 of file mesh-fitting.hpp.
double csg_cubecylsph | ( | const Vector & | x | ) |
Definition at line 148 of file mesh-fitting.hpp.
Definition at line 37 of file mesh-fitting.hpp.
double in_cube | ( | const Vector & | x, |
double | xc, | ||
double | yc, | ||
double | zc, | ||
double | lx, | ||
double | ly, | ||
double | lz | ||
) |
Definition at line 103 of file mesh-fitting.hpp.
double in_parabola | ( | const Vector & | x, |
double | h, | ||
double | k, | ||
double | t | ||
) |
Definition at line 60 of file mesh-fitting.hpp.
double in_pipe | ( | const Vector & | x, |
int | pipedir, | ||
Vector | x_pipe_center, | ||
double | radius, | ||
double | minv, | ||
double | maxv | ||
) |
Definition at line 112 of file mesh-fitting.hpp.
double in_rectangle | ( | const Vector & | x, |
double | xc, | ||
double | yc, | ||
double | w, | ||
double | h | ||
) |
Definition at line 67 of file mesh-fitting.hpp.
double in_trapezium | ( | const Vector & | x, |
double | a, | ||
double | b, | ||
double | l | ||
) |
Definition at line 54 of file mesh-fitting.hpp.
void ModifyAttributeForMarkingDOFS | ( | ParMesh * | pmesh, |
ParGridFunction & | mat, | ||
int | attr_to_switch | ||
) |
Definition at line 257 of file mesh-fitting.hpp.
void ModifyBoundaryAttributesForNodeMovement | ( | ParMesh * | pmesh, |
ParGridFunction & | x | ||
) |
Definition at line 187 of file mesh-fitting.hpp.
void OptimizeMeshWithAMRAroundZeroLevelSet | ( | ParMesh & | pmesh, |
FunctionCoefficient & | ls_coeff, | ||
int | amr_iter, | ||
ParGridFunction & | distance_s, | ||
const int | quad_order = 5 , |
||
Array< ParGridFunction *> * | pgf_to_update = NULL |
||
) |
Definition at line 332 of file mesh-fitting.hpp.
double r_intersect | ( | double | r1, |
double | r2 | ||
) |
Definition at line 133 of file mesh-fitting.hpp.
double r_remove | ( | double | r1, |
double | r2 | ||
) |
Definition at line 143 of file mesh-fitting.hpp.
double r_union | ( | double | r1, |
double | r2 | ||
) |
Definition at line 138 of file mesh-fitting.hpp.
double reactor | ( | const Vector & | x | ) |
Definition at line 75 of file mesh-fitting.hpp.