MeshKit
1.0
|
The MeshKit-based size evaluator for CAMAL meshing algorithms. More...
#include <CAMALSizeEval.hpp>
Public Member Functions | |
CAMALSizeEval (double size, SizingFunction *szf=NULL) | |
Constructor. | |
virtual | ~CAMALSizeEval () |
Destructor. | |
virtual bool | size_at_point (double x, double y, double z, double &size, int level=-1) |
Get the desired mesh size at a point in space. | |
virtual bool | stretch_vector (double loc_x, double loc_y, double loc_z, double &vec_x, double &vec_y, double &vec_z) |
Get the desired anisotropic mesh size at a point in space in the given direction. | |
virtual bool | tensor_at_point (double x, double y, double z, double *&size) |
Get the size tensor at a point in space. | |
virtual bool | size_at_point (double u, double v, double &size, int level=-1) |
Get the desired mesh size at a point on the surface. | |
virtual bool | stretch_vector (double loc_u, double loc_v, double &vec_u, double &vec_v) |
Get the desired anisotropic mesh size at a point in space in the given direction. | |
virtual bool | tensor_at_point (double u, double v, double *&size) |
Get the size tensor at a point in space. | |
virtual bool | size_at_point (double u, double &size, int level=-1) |
Get the desired mesh size at a point on a curve. | |
virtual bool | is_anisotropic () |
Get whether the sizing function is anisotropic or not. | |
double | get_size () |
Get the mesh size set on this sizeeval. | |
void | set_size (double mesh_size) |
Set the mesh size set on this sizeeval. | |
Private Attributes | |
double | meshSize |
SizingFunction * | sizingFunc |
The MeshKit-based size evaluator for CAMAL meshing algorithms.
Definition at line 12 of file CAMALSizeEval.hpp.
CAMALSizeEval | ( | double | size, |
SizingFunction * | szf = NULL |
||
) |
Constructor.
size | Size setting for this evaluator |
Definition at line 6 of file CAMALSizeEval.cpp.
~CAMALSizeEval | ( | ) | [virtual] |
Destructor.
Definition at line 11 of file CAMALSizeEval.cpp.
double get_size | ( | ) | [inline] |
Get the mesh size set on this sizeeval.
Definition at line 144 of file CAMALSizeEval.hpp.
bool is_anisotropic | ( | ) | [virtual] |
Get whether the sizing function is anisotropic or not.
Definition at line 74 of file CAMALSizeEval.cpp.
void set_size | ( | double | mesh_size | ) | [inline] |
Set the mesh size set on this sizeeval.
mesh_size | Mesh size being set |
Definition at line 149 of file CAMALSizeEval.hpp.
bool size_at_point | ( | double | x, |
double | y, | ||
double | z, | ||
double & | size, | ||
int | level = -1 |
||
) | [virtual] |
Get the desired mesh size at a point in space.
x | The x coordinate of the point |
y | The y coordinate of the point |
z | The z coordinate of the point |
size | The desired mesh size at the point. |
level | The number of elements between the boundary and this point. |
Definition at line 13 of file CAMALSizeEval.cpp.
bool size_at_point | ( | double | u, |
double | v, | ||
double & | size, | ||
int | level = -1 |
||
) | [virtual] |
Get the desired mesh size at a point on the surface.
u | The u parametric coordinate of the point |
v | The v parametric coordinate of the point |
size | The desired mesh size at the point. |
level | The number of elements between the boundary and this point. |
Definition at line 43 of file CAMALSizeEval.cpp.
bool size_at_point | ( | double | u, |
double & | size, | ||
int | level = -1 |
||
) | [virtual] |
Get the desired mesh size at a point on a curve.
u | The u parametric coordinate of the point |
size | The desired mesh size at the point. |
level | The number of elements between the boundary and this point. |
Definition at line 67 of file CAMALSizeEval.cpp.
bool stretch_vector | ( | double | loc_x, |
double | loc_y, | ||
double | loc_z, | ||
double & | vec_x, | ||
double & | vec_y, | ||
double & | vec_z | ||
) | [virtual] |
Get the desired anisotropic mesh size at a point in space in the given direction.
loc_x | The x coordinate of the location |
loc_y | The y coordinate of the location |
loc_z | The z coordinate of the location |
vec_x | The x component of the vector to be stretched, returned modified |
vec_y | The y component of the vector to be stretched, returned modified |
vec_z | The z component of the vector to be stretched, returned modified |
Definition at line 25 of file CAMALSizeEval.cpp.
bool stretch_vector | ( | double | loc_u, |
double | loc_v, | ||
double & | vec_u, | ||
double & | vec_v | ||
) | [virtual] |
Get the desired anisotropic mesh size at a point in space in the given direction.
loc_u | The u parametric coordinate of the point in the sizing field |
loc_v | The v parametric coordinate of the point in the sizing field |
vec_u | The u component of the direction to be stretched, returned modified |
vec_v | The v component of the direction to be stretched, returned modified |
Definition at line 50 of file CAMALSizeEval.cpp.
bool tensor_at_point | ( | double | x, |
double | y, | ||
double | z, | ||
double *& | size | ||
) | [virtual] |
Get the size tensor at a point in space.
x | The x coordinate of the point |
y | The y coordinate of the point |
z | The z coordinate of the point |
size | The size tensor at the point, xx, yy, zz, xy, yz, xz. Pointer only changed if a NULL is passed in. |
Definition at line 34 of file CAMALSizeEval.cpp.
bool tensor_at_point | ( | double | u, |
double | v, | ||
double *& | size | ||
) | [virtual] |
Get the size tensor at a point in space.
u | The u parametric coordinate of the point |
v | The v parametric coordinate of the point |
size | The size tensor at the point. Pointer only changed if a NULL is passed in. |
Definition at line 58 of file CAMALSizeEval.cpp.
double meshSize [private] |
Definition at line 139 of file CAMALSizeEval.hpp.
SizingFunction* sizingFunc [private] |
Definition at line 140 of file CAMALSizeEval.hpp.