MeshKit
1.0
|
The class used in MeshKit for referring to model entities and mesh associated with them. More...
#include <meshkit/ModelEnt.hpp>
Public Member Functions | |
IAVariable * | ia_var () const |
void | ia_var (IAVariable *v) |
double | mesh_interval_size () const |
double | measure () const |
void | mesh_intervals (const int set_mesh_int) |
Firmness | interval_firmness () const |
ModelEnt () | |
Public Attributes | |
int | stub_id |
IAVariable * | iaVar |
double | meshIntervalSize |
double | entMeasure |
Firmness | entFirmness |
Static Public Attributes | |
static int | max_stub_id = 0 |
Constructor/destructor | |
ModelEnt (MKCore *mk, iGeom::EntityHandle geom_ent, int geom_index, moab::EntityHandle mesh_ent=0, int mesh_index=-1, int irel_index=-1, int sizing_index=-1) | |
Constructor; mesh entity can be missing, in which case it's retrieved or created. | |
ModelEnt (MKCore *mk, iGeom::EntitySetHandle geom_set, int geom_index, moab::EntityHandle mesh_ent=0, int mesh_index=-1, int irel_index=-1, int sizing_index=-1, IAVariable *ia_var=NULL) | |
Constructor; mesh entity can be missing, in which case it's retrieved or created. | |
virtual | ~ModelEnt () |
Destructor. | |
Topology | |
void | children (std::vector< MEntVector > &child_ents) const |
Return children as vectors of vectors, e.g. for loops or shells. | |
void | children (std::vector< MEntVector > &child_ents) |
Return children as vectors of vectors, e.g. for loops or shells. | |
void | children (std::vector< std::vector< moab::EntityHandle > > &child_ents) const |
Return children as vectors of vectors, e.g. for loops or shells. | |
void | children (std::vector< std::vector< iGeom::EntityHandle > > &child_ents) const |
Return children as vectors of vectors, e.g. for loops or shells. | |
void | get_adjacencies (int dim, MEntVector &adjs) const |
Return adjacencies to this model entity of the input dimension. | |
void | get_adjacencies (int dim, std::vector< iGeom::EntityHandle > &adjs) const |
Return adjacencies to this model entity of the input dimension. | |
void | get_adjacencies (int dim, std::vector< moab::EntityHandle > &adjs) const |
Return adjacencies to this model entity of the input dimension. | |
void | get_adjacencies (int dim, moab::Range &adjs) const |
Return adjacencies to this model entity of the input dimension. | |
ModelEnt * | shared_entity (ModelEnt *ent2, int to_dim) |
Return a shared entity of specified dimension. | |
void | get_adjs_bool (MEntVector &from_ents, int to_dim, MEntVector &to_ents, BooleanType op_type, bool only_to_ents=true) |
Get adjacent entities, with specified boolean on results. | |
Geometric evaluation | |
int | dimension () const |
Return the topological dimension of this model entity. | |
double | measure () const |
Measure of this entity, -DBL_MAX for vertices, or length, area, or volume. | |
double | measure_discrete () const |
Similar as measure, but based on mesh. | |
void | evaluate (double x, double y, double z, double *close=NULL, double *direction=NULL, double *curvature1=NULL, double *curvature2=NULL) const |
Evaluate entity at a point. | |
void | evaluate_discrete (double x, double y, double z, double *close=NULL, double *direction=NULL, double *curvature1=NULL, double *curvature2=NULL) const |
Evaluate entity at a point, based on mesh data. | |
int | id () const |
Get the id of the geometry/mesh entity, if any. | |
Mesh | |
void | create_mesh_set (int ordered_flag=-1) |
Create mesh set for this ModelEnt. | |
void | commit_mesh (moab::Range &mesh_ents, MeshedState mstate) |
Commit mesh to a model entity. | |
void | commit_mesh (moab::EntityHandle *mesh_ents, int num_ents, MeshedState mstate) |
Commit mesh to a model entity. | |
void | get_mesh (int dim, std::vector< moab::EntityHandle > &ments, bool bdy_too=false) |
Return the mesh on this entity, of the specified dimension or (if dim=-1) all dimensions. | |
void | boundary (int dim, std::vector< moab::EntityHandle > &bdy, std::vector< int > *senses=NULL, std::vector< int > *group_sizes=NULL) |
Return the mesh bounding this entity, their senses, and optionally the loops/shells. | |
void | boundary (int dim, MEntVector &elements, std::vector< int > *senses, std::vector< int > *group_sizes=NULL) |
Return the model entities bounding this entity, their senses, and optionally the loops/shells. | |
void | boundary (int dim, moab::Range &ents) const |
Return mesh bounding this model entity in a Range (unordered wrt model entity) | |
void | get_indexed_connect_coords (std::vector< moab::EntityHandle > &ents, std::vector< int > *senses, moab::Tag tagh, std::vector< int > &ents_as_ids, std::vector< double > &coords, moab::Range *verts_range=NULL, int start_index=0) |
From a vector of entity handles, return connectivity as integer ids, and coords of vertices if requested. | |
MeshedState | get_meshed_state () |
Get meshed state. | |
void | set_meshed_state (MeshedState mstate) |
Set the meshed state. | |
Mesh intervals, sizing functions | |
int | sizing_function_index () const |
Get sizing function index. | |
void | sizing_function_index (int index, bool children_too=true) |
Set sizing function index. | |
double | mesh_interval_size () const |
Get mesh interval size, if any Returns -1 if no size set on this entity. If intervals are set and this is a model edge, returns computed size. | |
int | mesh_intervals () const |
Get intervals. | |
void | mesh_intervals (int ints) |
Set intervals. | |
Firmness | interval_firmness () const |
Get firmness. | |
void | interval_firmness (Firmness firm) |
Set firmness. | |
bool | constrain_even () const |
Get constrainEven. | |
void | constrain_even (bool flag) |
Set constrainEven. | |
MeshOps | |
void | add_meshop (MeshOp *meshop) |
Add a MeshOp that points to this ModelEnt. | |
void | remove_meshop (MeshOp *meshop) |
Remove a MeshOp that pointed to this ModelEnt. | |
void | get_meshops (std::vector< MeshOp * > &meshops) |
Get MeshOps pointing to this ModelEnt. | |
bool | is_meshops_list_empty () |
decide if there is a meshop defined for this model entity | |
Interfaces, entities | |
MKCore * | mkCore |
MeshKit instance to which this model entity is associated. | |
int | igeomIndex |
iGeom instance index associated with this model entity | |
int | meshIndex |
MOAB instance index associated with this model entity. | |
int | irelIndex |
iRel pair index associated with this model entity | |
iGeom::EntityHandle | iGeomEnt |
Geometry entity for this model entity. | |
iGeom::EntitySetHandle | iGeomSet |
Geometry set for this model entity. | |
moab::EntityHandle | moabEntSet |
Mesh entity set for this model entity. | |
int | sizingFunctionIndex |
Sizing function associated with this model entity. | |
int | meshIntervals |
Mesh intervals for this model entity. | |
Firmness | intervalFirmness |
Mesh interval firmness for this model entity. | |
bool | constrainEven |
Constrain mesh intervals to be even. | |
MeshedState | meshedState |
Meshed state of this entity. | |
std::vector< MeshOp * > | meshOps |
MeshOps pointing to this entity. | |
IAVariable * | iaVariable |
interval assignment variable | |
MKCore * | mk_core () const |
Get the MKCore object. | |
iGeom::EntityHandle | geom_handle () const |
Get geometry entity handle. | |
iGeom::EntityHandle | geom_handle (moab::EntityHandle ment) const |
Get geometry entity handle for a given mesh entity set. | |
iGeom * | igeom_instance () const |
Get iGeom instance associated with this model entity. | |
moab::Interface * | moab_instance () const |
Get moab instance associated with this model entity. | |
moab::EntityHandle | mesh_handle () const |
Get mesh entity set handle. | |
moab::EntityHandle | mesh_handle (iGeom::EntityHandle gent) const |
Get mesh entity set handle for a given geometry entity. | |
moab::EntityHandle | mesh_handle (iGeom::EntitySetHandle gent) const |
Get mesh entity set handle for a given geometry entity. | |
int | iGeomIndex () |
int | iRelPairIndex () |
IAVariable * | ia_var () |
const IAVariable * | ia_var () const |
void | ia_var (IAVariable *var) |
ModelEnt * | next_winding (ModelEnt *this_edge, int this_sense, MEntVector &tmp_adjs) |
Return the next entity in the loop, using winding number. | |
void | init_parents_children () |
Initialize mesh set parents/children to parallel geometric topology. | |
void | init_group_contents () |
Initialize mesh set contents to parallel geometry set contents. | |
void | set_downward_senses () |
Set senses tag on moabEntSet wrt adjacent entities. |
The class used in MeshKit for referring to model entities and mesh associated with them.
Instances of this class are references to the entities stored in the geometry and mesh databases. Destruction/construction of ModelEnt instances does not cause destruction/construction of the corresponding database entities (one exception to this statement is that an argument to the constructor can request that the mesh entity set be created for the corresponding geometry entity).
A ModelEnt instance keeps a reference to the MKCore object to which it is associated; through that instance it can get access to the geometry/mesh/relation database instances.
Definition at line 30 of file ModelEnt.hpp.
ModelEnt | ( | MKCore * | mk, |
iGeom::EntityHandle | geom_ent, | ||
int | geom_index, | ||
moab::EntityHandle | mesh_ent = 0 , |
||
int | mesh_index = -1 , |
||
int | irel_index = -1 , |
||
int | sizing_index = -1 |
||
) |
Constructor; mesh entity can be missing, in which case it's retrieved or created.
mk | MeshKit instance |
geom_ent | Geometry entity corresponding to this ModelEntity |
igeom | iGeom instance |
mesh_ent | Mesh entity set corresponding to this ModelEntity |
sizing_index | Sizing function index (from MBCore) to be used to mesh this entity |
Definition at line 15 of file ModelEnt.cpp.
ModelEnt | ( | MKCore * | mk, |
iGeom::EntitySetHandle | geom_set, | ||
int | geom_index, | ||
moab::EntityHandle | mesh_ent = 0 , |
||
int | mesh_index = -1 , |
||
int | irel_index = -1 , |
||
int | sizing_index = -1 , |
||
IAVariable * | ia_var = NULL |
||
) |
Constructor; mesh entity can be missing, in which case it's retrieved or created.
mk | MeshKit instance |
geom_set | Geometry entity set corresponding to this ModelEntity |
igeom | iGeom instance |
mesh_ent | Mesh entity set corresponding to this ModelEntity |
sizing_index | Sizing function index (from MBCore) to be used to mesh this entity |
Definition at line 60 of file ModelEnt.cpp.
~ModelEnt | ( | ) | [virtual] |
Destructor.
Definition at line 108 of file ModelEnt.cpp.
ModelEnt | ( | ) | [inline] |
Definition at line 40 of file IntervalAssignment/stubs/IAVariable.hpp.
void add_meshop | ( | MeshOp * | meshop | ) | [inline] |
Add a MeshOp that points to this ModelEnt.
meshop | MeshOp to add |
Definition at line 645 of file ModelEnt.hpp.
void boundary | ( | int | dim, |
std::vector< moab::EntityHandle > & | bdy, | ||
std::vector< int > * | senses = NULL , |
||
std::vector< int > * | group_sizes = NULL |
||
) |
Return the mesh bounding this entity, their senses, and optionally the loops/shells.
In the case where vertices are requested (dim=0), vertices on end of loops are *not* repeated
dim | Dimension of boundary entities requested |
bdy | Boundary entities |
senses | Senses of boundary entities |
group_sizes | If non-NULL, pointer to vector where group sizes will be returned |
Definition at line 530 of file ModelEnt.cpp.
void boundary | ( | int | dim, |
MEntVector & | elements, | ||
std::vector< int > * | senses, | ||
std::vector< int > * | group_sizes = NULL |
||
) |
Return the model entities bounding this entity, their senses, and optionally the loops/shells.
dim | Dimension of boundary entities requested |
elements | Boundary entities |
senses | Senses of boundary entities |
group_sizes | If non-NULL, pointer to vector where group sizes will be returned |
Definition at line 573 of file ModelEnt.cpp.
void boundary | ( | int | dim, |
moab::Range & | ents | ||
) | const |
Return mesh bounding this model entity in a Range (unordered wrt model entity)
This function returns boundary entities in a Range, which means they're not guaranteed to be ordered consistently with respect to the model entity orientation. The input range is appended to (i.e. it is not emptied first).
dim | Dimension of requested boundary entities |
ents | Boundary entities requested |
Definition at line 907 of file ModelEnt.cpp.
void children | ( | std::vector< MEntVector > & | child_ents | ) | const [inline] |
Return children as vectors of vectors, e.g. for loops or shells.
No ordered flag, since that's implied by definition
child_ents | Child entities returned |
Definition at line 674 of file ModelEnt.hpp.
void children | ( | std::vector< MEntVector > & | child_ents | ) | [inline] |
Return children as vectors of vectors, e.g. for loops or shells.
No ordered flag, since that's implied by definition
child_ents | Child entities returned |
Definition at line 675 of file ModelEnt.hpp.
void children | ( | std::vector< std::vector< moab::EntityHandle > > & | child_ents | ) | const [inline] |
Return children as vectors of vectors, e.g. for loops or shells.
No ordered flag, since that's implied by definition
child_ents | Child entities returned |
Definition at line 553 of file ModelEnt.hpp.
void children | ( | std::vector< std::vector< iGeom::EntityHandle > > & | child_ents | ) | const [inline] |
Return children as vectors of vectors, e.g. for loops or shells.
No ordered flag, since that's implied by definition
child_ents | Child entities returned |
Definition at line 571 of file ModelEnt.hpp.
void commit_mesh | ( | moab::Range & | mesh_ents, |
MeshedState | mstate | ||
) |
Commit mesh to a model entity.
Takes the input mesh entities, adds them to the entity set for this model entity, and (if both-type relation on the mesh side) sets the relations to the corresponding geometry entity.
mesh_ents | Mesh entities being assigned to this model entity |
mstate | The meshed state after this mesh is added |
Definition at line 338 of file ModelEnt.cpp.
void commit_mesh | ( | moab::EntityHandle * | mesh_ents, |
int | num_ents, | ||
MeshedState | mstate | ||
) |
Commit mesh to a model entity.
Takes the input mesh entities, adds them to the entity set for this model entity, and (if both-type relation on the mesh side) sets the relations to the corresponding geometry entity.
mesh_ents | Pointer to mesh entities being assigned to this model entity |
num_ents | Number of mesh entities in list |
mstate | The meshed state after this mesh is added |
Takes the input mesh entities, and adds them to the entity set for this model entity.
mesh_ents | Mesh entities being assigned to this model entity |
mstate | The meshed state after this mesh is added |
Definition at line 351 of file ModelEnt.cpp.
bool constrain_even | ( | ) | const [inline] |
Get constrainEven.
Definition at line 613 of file ModelEnt.hpp.
void constrain_even | ( | bool | flag | ) | [inline] |
void create_mesh_set | ( | int | ordered_flag = -1 | ) |
Create mesh set for this ModelEnt.
This function creates the entity set for a geometry entity, and tags that set according to convention (GEOM_DIMENSION and GLOBAL_ID). It also sets the relation with the corresponding geometry entity. The value of flag controls whether a vector- or set-based entity set is created: flag = 1 : create a vector-based set flag = 0 : create a set-based set flag = -1: check dimension of iGeomEnt; if 1, vector-based set, otherwise set-based set
ordered_flag | Ordered flag |
Definition at line 145 of file ModelEnt.cpp.
int dimension | ( | ) | const |
Return the topological dimension of this model entity.
Definition at line 382 of file ModelEnt.cpp.
void evaluate | ( | double | x, |
double | y, | ||
double | z, | ||
double * | close = NULL , |
||
double * | direction = NULL , |
||
double * | curvature1 = NULL , |
||
double * | curvature2 = NULL |
||
) | const |
Evaluate entity at a point.
If any of the evaluation results are not wanted, pass NULL for them. At least one must be provided. This function throws an error if called on a vertex or volume and non-NULL is passed for direction or curvature. Direction is the tangent for edges, normal for surfaces.
x | Start point x |
y | Start point y |
z | Start point z |
close | Closest point |
direction | Tangent or normal returned for edges or surfaces |
curvature1 | 1st curvature for edges or surfaces |
curvature2 | 2nd curvature for edges or surfaces |
Definition at line 412 of file ModelEnt.cpp.
void evaluate_discrete | ( | double | x, |
double | y, | ||
double | z, | ||
double * | close = NULL , |
||
double * | direction = NULL , |
||
double * | curvature1 = NULL , |
||
double * | curvature2 = NULL |
||
) | const [inline] |
Evaluate entity at a point, based on mesh data.
If any of the evaluation results are not wanted, pass NULL for them. At least one must be provided. This function throws an error if called on a vertex or volume and non-NULL is passed for direction or curvature. Direction is the tangent for edges, normal for surfaces.
x | Start point x |
y | Start point y |
z | Start point z |
close | Closest point |
direction | Tangent or normal returned for edges or surfaces |
curvature1 | 1st curvature for edges or surfaces |
curvature2 | 2nd curvature for edges or surfaces |
Definition at line 633 of file ModelEnt.hpp.
iGeom::EntityHandle geom_handle | ( | ) | const [inline] |
Get geometry entity handle.
Definition at line 543 of file ModelEnt.hpp.
iGeom::EntityHandle geom_handle | ( | moab::EntityHandle | ment | ) | const |
Get geometry entity handle for a given mesh entity set.
Definition at line 1001 of file ModelEnt.cpp.
void get_adjacencies | ( | int | dim, |
MEntVector & | adjs | ||
) | const |
Return adjacencies to this model entity of the input dimension.
This function appends adjacencies to the input vector.
dim | Dimension of entities requested; if -1, all adjacent entities are returned |
adjs | Adjacent entities |
Definition at line 364 of file ModelEnt.cpp.
void get_adjacencies | ( | int | dim, |
std::vector< iGeom::EntityHandle > & | adjs | ||
) | const [inline] |
Return adjacencies to this model entity of the input dimension.
This function appends adjacencies to the input vector.
dim | Dimension of entities requested; if -1, all adjacent entities are returned |
adjs | Adjacent entities |
Definition at line 671 of file ModelEnt.hpp.
void get_adjacencies | ( | int | dim, |
std::vector< moab::EntityHandle > & | adjs | ||
) | const [inline] |
Return adjacencies to this model entity of the input dimension.
This function appends adjacencies to the input vector.
dim | Dimension of entities requested; if -1, all adjacent entities are returned |
adjs | Adjacent entities |
Definition at line 672 of file ModelEnt.hpp.
void get_adjacencies | ( | int | dim, |
moab::Range & | adjs | ||
) | const [inline] |
Return adjacencies to this model entity of the input dimension.
This function adds adjacencies to the input range.
dim | Dimension of entities requested; if -1, all adjacent entities are returned |
adjs | Adjacent entities |
Definition at line 673 of file ModelEnt.hpp.
void get_adjs_bool | ( | MEntVector & | from_ents, |
int | to_dim, | ||
MEntVector & | to_ents, | ||
BooleanType | op_type, | ||
bool | only_to_ents = true |
||
) |
Get adjacent entities, with specified boolean on results.
from_ents | Entities whose adjacencies are being queried |
to_dim | Dimension of adjacencies requested |
to_ents | Adjacent entities |
op_type | Boolean type, intersect or union |
only_to_ents | if is true, get adjacencies from to_ents |
Definition at line 786 of file ModelEnt.cpp.
void get_indexed_connect_coords | ( | std::vector< moab::EntityHandle > & | ents, |
std::vector< int > * | senses, | ||
moab::Tag | tagh, | ||
std::vector< int > & | ents_as_ids, | ||
std::vector< double > & | coords, | ||
moab::Range * | verts_range = NULL , |
||
int | start_index = 0 |
||
) |
From a vector of entity handles, return connectivity as integer ids, and coords of vertices if requested.
The entity handles are ordered and made unique, assigned ids, then the id vector is assembled in the same order as the input handle vector. Optionally this function returns the moab tag used to assign ids, and the moab range used to get unique ids
ents | Vector of entities whose ids to assign |
senses | Senses of entities in ents; if NULL, assume forward sense, or no sense if ents are vertices |
tagh | Tag handle to use for ids; if zero, local tag is used then deleted |
ents_as_ids | Vector of ids that get assigned, ordered same as connectivity of ents (or ents itself if they're vertices) |
coords | Coordinates of vertices corresponding to ents_as_ids |
verts_range | Vertices in ents, as a range; if non-NULL, populated range is returned; this range is cleared in this function |
start_index | Starting index for vertex numbering |
Definition at line 913 of file ModelEnt.cpp.
void get_mesh | ( | int | dim, |
std::vector< moab::EntityHandle > & | ments, | ||
bool | bdy_too = false |
||
) |
Return the mesh on this entity, of the specified dimension or (if dim=-1) all dimensions.
This function will return the mesh entities on bounding entities too, if requested. This is useful for example for assembling the nodes bounding a surface, as some of those nodes are on model vertices. If requesting mesh on a periodic edge, end vertex will appear on both ends of the returned vector.
dim | Dimension of entities requested |
ments | Entities |
bdy_too | If true, returns (dim)-dimensional entities from bounding entities too |
Definition at line 491 of file ModelEnt.cpp.
MeshedState get_meshed_state | ( | ) | [inline] |
void get_meshops | ( | std::vector< MeshOp * > & | meshops | ) | [inline] |
Get MeshOps pointing to this ModelEnt.
meshops | MeshOps returned |
Definition at line 663 of file ModelEnt.hpp.
IAVariable* ia_var | ( | ) | const [inline] |
Definition at line 25 of file IntervalAssignment/stubs/IAVariable.hpp.
void ia_var | ( | IAVariable * | v | ) | [inline] |
Definition at line 26 of file IntervalAssignment/stubs/IAVariable.hpp.
IAVariable* ia_var | ( | ) | [inline] |
Definition at line 468 of file ModelEnt.hpp.
const IAVariable* ia_var | ( | ) | const [inline] |
Definition at line 469 of file ModelEnt.hpp.
void ia_var | ( | IAVariable * | var | ) | [inline] |
Definition at line 470 of file ModelEnt.hpp.
int id | ( | ) | const |
Get the id of the geometry/mesh entity, if any.
Definition at line 461 of file ModelEnt.cpp.
iGeom * igeom_instance | ( | ) | const |
Get iGeom instance associated with this model entity.
Definition at line 1024 of file ModelEnt.cpp.
int iGeomIndex | ( | ) | [inline] |
Definition at line 462 of file ModelEnt.hpp.
void init_group_contents | ( | ) | [private] |
Initialize mesh set contents to parallel geometry set contents.
Definition at line 259 of file ModelEnt.cpp.
void init_parents_children | ( | ) | [private] |
Initialize mesh set parents/children to parallel geometric topology.
Definition at line 214 of file ModelEnt.cpp.
Firmness interval_firmness | ( | ) | const [inline] |
Definition at line 38 of file IntervalAssignment/stubs/IAVariable.hpp.
Firmness interval_firmness | ( | ) | const [inline] |
Get firmness.
Definition at line 602 of file ModelEnt.hpp.
void interval_firmness | ( | Firmness | firm | ) | [inline] |
int iRelPairIndex | ( | ) | [inline] |
Definition at line 465 of file ModelEnt.hpp.
bool is_meshops_list_empty | ( | ) | [inline] |
decide if there is a meshop defined for this model entity
return true if the list of meshops is not empty
Definition at line 422 of file ModelEnt.hpp.
double measure | ( | ) | const [inline] |
Definition at line 32 of file IntervalAssignment/stubs/IAVariable.hpp.
double measure | ( | ) | const |
Measure of this entity, -DBL_MAX for vertices, or length, area, or volume.
Definition at line 399 of file ModelEnt.cpp.
double measure_discrete | ( | ) | const |
Similar as measure, but based on mesh.
Definition at line 407 of file ModelEnt.cpp.
moab::EntityHandle mesh_handle | ( | ) | const [inline] |
Get mesh entity set handle.
Definition at line 548 of file ModelEnt.hpp.
moab::EntityHandle mesh_handle | ( | iGeom::EntityHandle | gent | ) | const |
Get mesh entity set handle for a given geometry entity.
Definition at line 1036 of file ModelEnt.cpp.
moab::EntityHandle mesh_handle | ( | iGeom::EntitySetHandle | gent | ) | const |
Get mesh entity set handle for a given geometry entity.
Definition at line 1066 of file ModelEnt.cpp.
double mesh_interval_size | ( | ) | const [inline] |
Definition at line 29 of file IntervalAssignment/stubs/IAVariable.hpp.
double mesh_interval_size | ( | ) | const |
Get mesh interval size, if any Returns -1 if no size set on this entity. If intervals are set and this is a model edge, returns computed size.
Get mesh interval size, if any Returns -1 if no size set on this entity. If intervals are set, returns computed size.
Definition at line 1100 of file ModelEnt.cpp.
void mesh_intervals | ( | const int | set_mesh_int | ) | [inline] |
Definition at line 35 of file IntervalAssignment/stubs/IAVariable.hpp.
int mesh_intervals | ( | ) | const [inline] |
Get intervals.
Definition at line 590 of file ModelEnt.hpp.
void mesh_intervals | ( | int | ints | ) | [inline] |
Get the MKCore object.
Definition at line 538 of file ModelEnt.hpp.
moab::Interface * moab_instance | ( | ) | const |
Get moab instance associated with this model entity.
Definition at line 1030 of file ModelEnt.cpp.
ModelEnt * next_winding | ( | ModelEnt * | this_edge, |
int | this_sense, | ||
MEntVector & | tmp_adjs | ||
) | [private] |
Return the next entity in the loop, using winding number.
this_edge | Edge next to one being requested |
this_sense | Sense of this_edge |
tmp_adjs | Optional vector of candidates |
Definition at line 830 of file ModelEnt.cpp.
void remove_meshop | ( | MeshOp * | meshop | ) | [inline] |
Remove a MeshOp that pointed to this ModelEnt.
meshop | MeshOp to remove |
Definition at line 654 of file ModelEnt.hpp.
void set_downward_senses | ( | ) | [private] |
Set senses tag on moabEntSet wrt adjacent entities.
Definition at line 305 of file ModelEnt.cpp.
void set_meshed_state | ( | MeshedState | mstate | ) | [inline] |
ModelEnt * shared_entity | ( | ModelEnt * | ent2, |
int | to_dim | ||
) |
Return a shared entity of specified dimension.
If no shared entities are found, NULL is returned. If more than one are found, an Error is thrown with MK_MULTIPLE_FOUND as the code.
ent2 | Other entity |
to_dim | Dimension of shared entity |
Definition at line 768 of file ModelEnt.cpp.
int sizing_function_index | ( | ) | const [inline] |
Get sizing function index.
Definition at line 584 of file ModelEnt.hpp.
void sizing_function_index | ( | int | index, |
bool | children_too = true |
||
) |
Set sizing function index.
index | Sizing function index being set |
children_too | If true, sizing function index is propagated to child (bounding) entities |
Definition at line 132 of file ModelEnt.cpp.
bool constrainEven [private] |
Constrain mesh intervals to be even.
Definition at line 526 of file ModelEnt.hpp.
Definition at line 37 of file IntervalAssignment/stubs/IAVariable.hpp.
double entMeasure |
Definition at line 31 of file IntervalAssignment/stubs/IAVariable.hpp.
Definition at line 24 of file IntervalAssignment/stubs/IAVariable.hpp.
IAVariable* iaVariable [private] |
interval assignment variable
Definition at line 535 of file ModelEnt.hpp.
iGeom::EntityHandle iGeomEnt [private] |
Geometry entity for this model entity.
Definition at line 508 of file ModelEnt.hpp.
int igeomIndex [private] |
iGeom instance index associated with this model entity
Definition at line 499 of file ModelEnt.hpp.
iGeom::EntitySetHandle iGeomSet [private] |
Geometry set for this model entity.
Definition at line 511 of file ModelEnt.hpp.
Firmness intervalFirmness [private] |
Mesh interval firmness for this model entity.
Definition at line 523 of file ModelEnt.hpp.
int irelIndex [private] |
iRel pair index associated with this model entity
Definition at line 505 of file ModelEnt.hpp.
int max_stub_id = 0 [static] |
Definition at line 21 of file IntervalAssignment/stubs/IAVariable.hpp.
MeshedState meshedState [private] |
Meshed state of this entity.
Definition at line 529 of file ModelEnt.hpp.
int meshIndex [private] |
MOAB instance index associated with this model entity.
Definition at line 502 of file ModelEnt.hpp.
int meshIntervals [private] |
Mesh intervals for this model entity.
Definition at line 520 of file ModelEnt.hpp.
double meshIntervalSize |
Definition at line 28 of file IntervalAssignment/stubs/IAVariable.hpp.
MeshOps pointing to this entity.
Definition at line 532 of file ModelEnt.hpp.
MeshKit instance to which this model entity is associated.
Definition at line 496 of file ModelEnt.hpp.
moab::EntityHandle moabEntSet [private] |
Mesh entity set for this model entity.
Definition at line 514 of file ModelEnt.hpp.
int sizingFunctionIndex [private] |
Sizing function associated with this model entity.
Definition at line 517 of file ModelEnt.hpp.
int stub_id |
Definition at line 22 of file IntervalAssignment/stubs/IAVariable.hpp.