Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TopologyModifier Class Referenceabstract

#include <TopologyModifier.hpp>

Inheritance diagram for TopologyModifier:
Collaboration diagram for TopologyModifier:

Public Member Functions

virtual ~TopologyModifier ()
 
virtual double loop_over_mesh (MeshSet &mesh, MsqError &err)
 This is the "run" function of PatchDataUser. It can do anything really. More...
 
virtual ~TopologyModifier ()
 
virtual double loop_over_mesh (MeshSet &mesh, MsqError &err)
 This is the "run" function of PatchDataUser. It can do anything really. More...
 
- Public Member Functions inherited from QualityImprover
virtual ~QualityImprover ()
 
void set_name (msq_std::string name)
 provides a name to the QualityImprover (use it in constructor). More...
 
virtual msq_std::string get_name ()
 retrieves the QualityImprover name. A default name should be set in the constructor. More...
 
virtual AlgorithmType get_algorithm_type ()
 Return the algorithm type (to avoid RTTI use). More...
 
void set_inner_termination_criterion (TerminationCriterion *crit)
 Sets in the termination criterion for the concrete solver's optimization. More...
 
void set_outer_termination_criterion (TerminationCriterion *crit)
 Sets in the termination criterion for the outer loop over patches. More...
 
virtual ~QualityImprover ()
 
void set_name (msq_std::string name)
 provides a name to the QualityImprover (use it in constructor). More...
 
virtual msq_std::string get_name ()
 retrieves the QualityImprover name. A default name should be set in the constructor. More...
 
virtual AlgorithmType get_algorithm_type ()
 Return the algorithm type (to avoid RTTI use). More...
 
void set_inner_termination_criterion (TerminationCriterion *crit)
 Sets in the termination criterion for the concrete solver's optimization. More...
 
void set_outer_termination_criterion (TerminationCriterion *crit)
 Sets in the termination criterion for the outer loop over patches. More...
 
- Public Member Functions inherited from PatchDataUser
virtual ~PatchDataUser ()
 
virtual void set_patch_type (PatchData::PatchType patch_type, MsqError &err, int param1=0, int param2=0)
 Sets the Patch Type. More...
 
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 &params)
 
PatchDataParametersget_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...
 
PatchDataget_global_patch ()
 Returns the Global Patch. More...
 
void no_global_patch ()
 Sets the Global Patch pointer to NULL. More...
 
virtual ~PatchDataUser ()
 
virtual void set_patch_type (PatchData::PatchType patch_type, MsqError &err, int param1=0, int param2=0)
 Sets the Patch Type. More...
 
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 &params)
 
PatchDataParametersget_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...
 
PatchDataget_global_patch ()
 Returns the Global Patch. More...
 
void no_global_patch ()
 Sets the Global Patch pointer to NULL. More...
 

Protected Member Functions

 TopologyModifier ()
 
virtual void iteration_begin ()=0
 
virtual void optimize_connectivity ()=0
 
virtual void iteration_complete ()=0
 
virtual void iteration_end ()=0
 
 TopologyModifier ()
 
virtual void iteration_begin ()=0
 
virtual void optimize_connectivity ()=0
 
virtual void iteration_complete ()=0
 
virtual void iteration_end ()=0
 
- Protected Member Functions inherited from QualityImprover
 QualityImprover ()
 
const MeshSetget_mesh_set () const
 
MeshSetget_mesh_set ()
 
void set_mesh_set (MeshSet *ms)
 
TerminationCriterionget_outer_termination_criterion ()
 return the outer termination criterion pointer More...
 
TerminationCriterionget_inner_termination_criterion ()
 return the inner termination criterion pointer More...
 
 QualityImprover ()
 
const MeshSetget_mesh_set () const
 
MeshSetget_mesh_set ()
 
void set_mesh_set (MeshSet *ms)
 
TerminationCriterionget_outer_termination_criterion ()
 return the outer termination criterion pointer More...
 
TerminationCriterionget_inner_termination_criterion ()
 return the inner termination criterion pointer More...
 
- Protected Member Functions inherited from PatchDataUser
 PatchDataUser ()
 
 PatchDataUser ()
 

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
}
 

Detailed Description

Definition at line 48 of file includeLinks/TopologyModifier.hpp.

Constructor & Destructor Documentation

virtual ~TopologyModifier ( )
inlinevirtual

Definition at line 52 of file includeLinks/TopologyModifier.hpp.

53  {};
TopologyModifier ( )
protected
virtual ~TopologyModifier ( )
inlinevirtual

Definition at line 52 of file src/QualityImprover/TopologyModifier/TopologyModifier.hpp.

53  {};
TopologyModifier ( )
protected

Member Function Documentation

virtual void iteration_begin ( )
protectedpure virtual

Referenced by TopologyModifier::loop_over_mesh().

Here is the caller graph for this function:

virtual void iteration_begin ( )
protectedpure virtual
virtual void iteration_complete ( )
protectedpure virtual

Referenced by TopologyModifier::loop_over_mesh().

Here is the caller graph for this function:

virtual void iteration_complete ( )
protectedpure virtual
virtual void iteration_end ( )
protectedpure virtual

Referenced by TopologyModifier::loop_over_mesh().

Here is the caller graph for this function:

virtual void iteration_end ( )
protectedpure virtual
virtual double loop_over_mesh ( MeshSet ms,
MsqError err 
)
virtual

This is the "run" function of PatchDataUser. It can do anything really.

Implements QualityImprover.

double loop_over_mesh ( MeshSet ms,
MsqError err 
)
virtual

This is the "run" function of PatchDataUser. It can do anything really.

Implements QualityImprover.

Definition at line 43 of file QualityImprover/TopologyModifier/TopologyModifier.cpp.

References TopologyModifier::iteration_begin(), TopologyModifier::iteration_complete(), TopologyModifier::iteration_end(), and TopologyModifier::optimize_connectivity().

45 {
46  // TODO: for all vertices
47 // cout << "o Executing TopologyModifier::loop_over_mesh()\n"
48 // << " Here we will be looping over elements\n";
49  this->iteration_begin();
50  this->optimize_connectivity();
51  this->iteration_complete();
52  this->iteration_end();
53 
54  return 0.;
55 }
virtual void iteration_end()=0
virtual void optimize_connectivity()=0
virtual void iteration_complete()=0
virtual void iteration_begin()=0

Here is the call graph for this function:

virtual void optimize_connectivity ( )
protectedpure virtual

Referenced by TopologyModifier::loop_over_mesh().

Here is the caller graph for this function:

virtual void optimize_connectivity ( )
protectedpure virtual

The documentation for this class was generated from the following files: