#include <CMLSizer.hpp>
Public Types | |
| LINEAR | |
| linear weighting of the size at near points | |
| INTERVAL | |
| interval weighting of the size at near points | |
| INVERSE | |
| inverse interval weighting of the size at near points | |
| enum | FunctionType { LINEAR, INTERVAL, INVERSE } |
| Enumeration of the allowable sizing functions. More... | |
Public Member Functions | |
| virtual bool | set_boundary (int num_points, double *points, double *sizes, int num_loops, int *loop_sizes, int *loops) |
| Supply the surface mesh describing the surface boundary. | |
| virtual double | size_at_point (double u, double v) |
| Get the element size at the parametric coordinate. | |
| virtual double | size_at_point (double x, double y, double z) |
| Get the element size at the cartesian coordinate. | |
| virtual bool | set_neighbor_count (int n) |
| Set the neighbor count. | |
Constructor/Destructor | |
| CMLSizer (FunctionType size_type, CMLSurfEval *surf_eval) | |
| Constructor for the sizer class. | |
| CMLSizer::CMLSizer | ( | FunctionType | size_type, | |
| CMLSurfEval * | surf_eval | |||
| ) |
Constructor for the sizer class.
| size_type | The desired sizing function type. |
| surf_eval | A pointer to the users implementation of the surface evaluator class, CMLSurfEval. |
| virtual bool CMLSizer::set_boundary | ( | int | num_points, | |
| double * | points, | |||
| double * | sizes, | |||
| int | num_loops, | |||
| int * | loop_sizes, | |||
| int * | loops | |||
| ) | [virtual] |
Supply the surface mesh describing the surface boundary.
| num_points | The number of points in the boundary mesh. | |
| points | An array of points (array size = 3 * num_points_in.) The first three array values are the x, y and z coordinates of the first point. The next three are for the second point, then the third, etc. | |
| sizes | An array of sizes cooresponding to the points (array size = num_points_in.) | |
| num_loops | The number of loops that describe the boundary of the surface. | |
| loop_sizes | The number of unique point ids in each loop in loops. (array size = num_loops) | |
| loops | connectivity of boundary mesh (array size = sum of values in loop_sizes) |
| virtual bool CMLSizer::set_neighbor_count | ( | int | n | ) | [virtual] |
Set the neighbor count.
| n | The number of neighbors to use in computing the size. |
| virtual double CMLSizer::size_at_point | ( | double | x, | |
| double | y, | |||
| double | z | |||
| ) | [virtual] |
Get the element size at the cartesian coordinate.
| x | The x value of the cartesian coordinate. | |
| y | The y value of the cartesian coordinate. | |
| z | The z value of the cartesian coordinate. |
| virtual double CMLSizer::size_at_point | ( | double | u, | |
| double | v | |||
| ) | [virtual] |
Get the element size at the parametric coordinate.
| u | The u value of the parametric coordinate. | |
| v | The v value of the parametric coordinate. |
CAMAL 5.2-0 documentation created on 1 Jun 2010
Comments to csimsoft.com