38 #include "PatchDataUser.hpp"
39 #include "MeshSet.hpp"
40 #include "MsqTimer.hpp"
42 using namespace Mesquite;
76 for (
size_t i=0;
i<num_elements; ++
i) {
78 assert( nve = elems_ref[
i].vertex_count() );
81 for (
int c = 0; c < nve; ++c)
82 matrices[c] = W_guides[c];
CornerTag< TargetMatrix > targetMatrices
Target matrix data.
Used to hold the error state and return it to the application.
PatchDataParameters & get_all_parameters()
Returns the PatchDataParameters object.
void compute_guide_matrices(enum guide_type type, PatchData &ref_pd, size_t elem_ind, Matrix3D A[], int num, MsqError &err)
Computes the guide corner matrices A for a given element index in the reference patch.
MsqMeshEntity is the Mesquite object that stores information about the elements in the mesh...
const int MSQ_MAX_NUM_VERT_PER_ENT
size_t num_elements() const
number of elements in the Patch.
msq_stdc::size_t vertex_count() const
Returns the number of vertices in this element, based on its element type.
virtual void compute_target_matrices(PatchData &pd, MsqError &err)
3*3 Matric class, row-oriented, 0-based [i][j] indexing.
size_t num_vertices() const
number of vertices in the patch.
enum guide_type guideMatrix
Class containing the target corner matrices for the context based smoothing.
#define MSQ_FUNCTION_TIMER(NAME)
const MsqMeshEntity * get_element_array(MsqError &err) const
Returns a pointer to the start of the element array.
#define MSQ_ERRRTN(err)
If passed error is true, return from a void function.
bool get_next_patch(PatchData &pd, PatchDataUser *pd_user, MsqError &err)
Gets the next PatchData.