37 #ifndef Mesquite_VertexMover_hpp
38 #define Mesquite_VertexMover_hpp
89 msq_std::vector<Vector3D> sample_points;
91 short num_jacobian_vectors;
93 for(i=0;i<num_elements;++
i){
95 msq_std::vector<Vector3D>::iterator iter=sample_points.begin();
96 while(iter!=sample_points.end()){
99 num_jacobian_vectors, err);
100 if(num_jacobian_vectors==2){
103 else if(num_jacobian_vectors==3){
104 if(jacobian_vectors[0]%(jacobian_vectors[1]*
105 jacobian_vectors[2])<=0.0){
118 #endif // Mesquite_VertexMover_hpp
virtual void terminate_mesh_iteration(PatchData &, MsqError &err)=0
Used to hold the error state and return it to the application.
size_t check_feasible(PatchData &pd, MsqError &err)
CHECK FEASIBLE IS NOT YET IMPLEMENTED.
Base class for all quality improvers. Mote that the PatchData settings are inherited from the PathDat...
MsqMeshEntity is the Mesquite object that stores information about the elements in the mesh...
Vector3D is the object that effeciently stores information about about three-deminsional vectors...
virtual double loop_over_mesh(MeshSet &ms, MsqError &err)
Improves the quality of the MeshSet, calling some methods specified in a class derived from VertexMov...
size_t num_elements() const
number of elements in the Patch.
ObjectiveFunction * objFunc
void compute_weighted_jacobian(PatchData &pd, Vector3D &sample_point, Vector3D jacobian_vectors[], short &num_jacobian_vectors, MsqError &err)
virtual void initialize(PatchData &pd, MsqError &err)=0
virtual void optimize_vertex_positions(PatchData &pd, MsqError &err)=0
const MsqMeshEntity * get_element_array(MsqError &err) const
Returns a pointer to the start of the element array.
void get_sample_points(QualityMetric::ElementEvaluationMode mode, msq_std::vector< Vector3D > &coords, MsqError &err)
Returns a list of sample points given an evaluationmode.
Base class for concrete Objective Functions ObjectiveFunction contains a pointer to a QualityMetric...
The MeshSet class stores one or more Mesquite::Mesh pointers and manages access to the mesh informati...
virtual void initialize_mesh_iteration(PatchData &pd, MsqError &err)=0