Class to adjust positions of higher-order nodes. More...
#include <MeanMidNodeMover.hpp>
Public Member Functions | |
MeanMidNodeMover () | |
virtual | ~MeanMidNodeMover () |
virtual void | set_patch_type (PatchData::PatchType patch_type, MsqError &err, int param1=0, int param2=0) |
Sets the Patch Type. More... | |
virtual double | loop_over_mesh (MeshSet &ms, MsqError &err) |
This is the "run" function of PatchDataUser. It can do anything really. More... | |
virtual msq_std::string | get_name () |
Returns the algorithm name. More... | |
virtual PatchDataUser::AlgorithmType | get_algorithm_type () |
Return the algorithm type (to avoid RTTI use). More... | |
MeanMidNodeMover () | |
virtual | ~MeanMidNodeMover () |
virtual void | set_patch_type (PatchData::PatchType patch_type, MsqError &err, int param1=0, int param2=0) |
Sets the Patch Type. More... | |
virtual double | loop_over_mesh (MeshSet &ms, MsqError &err) |
This is the "run" function of PatchDataUser. It can do anything really. More... | |
virtual msq_std::string | get_name () |
Returns the algorithm name. More... | |
virtual PatchDataUser::AlgorithmType | get_algorithm_type () |
Return the algorithm type (to avoid RTTI use). More... | |
Public Member Functions inherited from PatchDataUser | |
virtual | ~PatchDataUser () |
PatchData::PatchType | get_patch_type () |
Returns the Patch Type. More... | |
int | get_nb_layers (MsqError &err) |
Returns number of layers (if relevant for partition algorythm). More... | |
void | add_culling_method (enum PatchData::culling_method cm) |
Sets on the culling method passed as argument. More... | |
void | no_culling_method () |
Sets off all culling methods. More... | |
void | remove_culling_method (enum PatchData::culling_method cm) |
Sets off the culling method passed as argument. More... | |
long unsigned int | get_culling_method_bits () |
Returns the bitset containing culling methods flags. More... | |
void | set_all_parameters (PatchDataParameters ¶ms) |
PatchDataParameters & | get_all_parameters () |
Returns the PatchDataParameters object. More... | |
void | set_global_patch (PatchData *pd, MsqError &err) |
Sets the Global Patch, so that it can be use by contiguoug PatchDataUser. More... | |
PatchData * | get_global_patch () |
Returns the Global Patch. More... | |
void | no_global_patch () |
Sets the Global Patch pointer to NULL. More... | |
virtual | ~PatchDataUser () |
PatchData::PatchType | get_patch_type () |
Returns the Patch Type. More... | |
int | get_nb_layers (MsqError &err) |
Returns number of layers (if relevant for partition algorythm). More... | |
void | add_culling_method (enum PatchData::culling_method cm) |
Sets on the culling method passed as argument. More... | |
void | no_culling_method () |
Sets off all culling methods. More... | |
void | remove_culling_method (enum PatchData::culling_method cm) |
Sets off the culling method passed as argument. More... | |
long unsigned int | get_culling_method_bits () |
Returns the bitset containing culling methods flags. More... | |
void | set_all_parameters (PatchDataParameters ¶ms) |
PatchDataParameters & | get_all_parameters () |
Returns the PatchDataParameters object. More... | |
void | set_global_patch (PatchData *pd, MsqError &err) |
Sets the Global Patch, so that it can be use by contiguoug PatchDataUser. More... | |
PatchData * | get_global_patch () |
Returns the Global Patch. More... | |
void | no_global_patch () |
Sets the Global Patch pointer to NULL. More... | |
Additional Inherited Members | |
Public Types inherited from PatchDataUser | |
enum | AlgorithmType { QUALITY_IMPROVER, QUALITY_ASSESSOR, MESH_TRANSFORM, TARGET_CALCULATOR, QUALITY_IMPROVER, QUALITY_ASSESSOR, MESH_TRANSFORM, TARGET_CALCULATOR } |
enum | AlgorithmType { QUALITY_IMPROVER, QUALITY_ASSESSOR, MESH_TRANSFORM, TARGET_CALCULATOR, QUALITY_IMPROVER, QUALITY_ASSESSOR, MESH_TRANSFORM, TARGET_CALCULATOR } |
Protected Member Functions inherited from PatchDataUser | |
PatchDataUser () | |
PatchDataUser () | |
Class to adjust positions of higher-order nodes.
Move all higher-order nodes to average position of adjacent nodes.
Definition at line 44 of file includeLinks/MeanMidNodeMover.hpp.
MeanMidNodeMover | ( | ) |
Definition at line 34 of file QualityImprover/VertexMover/MeanMidNodeMover.cpp.
References PatchData::GLOBAL_PATCH, MSQ_CHKERR, and PatchDataUser::set_patch_type().
|
virtual |
Definition at line 41 of file QualityImprover/VertexMover/MeanMidNodeMover.cpp.
MeanMidNodeMover | ( | ) |
|
virtual |
|
virtual |
Return the algorithm type (to avoid RTTI use).
Implements PatchDataUser.
Definition at line 52 of file QualityImprover/VertexMover/MeanMidNodeMover.cpp.
References PatchDataUser::QUALITY_IMPROVER.
|
virtual |
Return the algorithm type (to avoid RTTI use).
Implements PatchDataUser.
|
virtual |
Returns the algorithm name.
Implements PatchDataUser.
Definition at line 49 of file QualityImprover/VertexMover/MeanMidNodeMover.cpp.
|
virtual |
Returns the algorithm name.
Implements PatchDataUser.
This is the "run" function of PatchDataUser. It can do anything really.
Implements PatchDataUser.
Definition at line 56 of file QualityImprover/VertexMover/MeanMidNodeMover.cpp.
References TopologyInfo::corners(), PatchData::element_by_index(), MsqMeshEntity::get_element_type(), PatchDataUser::get_global_patch(), PatchDataUser::get_patch_type(), PatchData::get_vertex_element_adjacencies(), MsqMeshEntity::get_vertex_index_array(), PatchData::GLOBAL_PATCH, i, MsqError::INTERNAL_ERROR, MsqError::INVALID_MESH, MsqError::INVALID_STATE, MSQ_ERRZERO, MSQ_SETERR, MsqMeshEntity::node_count(), PatchData::num_nodes(), PatchData::num_vertices(), PatchData::set_vertex_coordinates(), TopologyInfo::side_number(), TopologyInfo::side_vertices(), PatchData::snap_vertex_to_domain(), PatchData::update_mesh(), and PatchData::vertex_by_index().
This is the "run" function of PatchDataUser. It can do anything really.
Implements PatchDataUser.
|
virtual |
Sets the Patch Type.
Reimplemented from PatchDataUser.
Definition at line 43 of file QualityImprover/VertexMover/MeanMidNodeMover.cpp.
References MsqError::INVALID_ARG, and MSQ_SETERR.
|
virtual |
Sets the Patch Type.
Reimplemented from PatchDataUser.