 |
Ice Sheet System Model
4.18
Code documentation
|
Go to the documentation of this file. 1 #ifndef ADAPTIVEMESHREFINEMENT
2 #define ADAPTIVEMESHREFINEMENT
9 #include "../shared/shared.h"
45 void ExecuteRefinement(
double* gl_distance,
double* if_distance,
double* deviatoricerror,
double* thicknesserror,
int** pdatalist,
double** pxy,
int** pelementslist);
48 void CheckMesh(
int** pdata,
double** pxy,
int** pelements);
66 void RefineMeshOneLevel(
bool &verbose,
double* gl_distance,
double* if_distance,
double* deviatoricerror,
double* thicknesserror);
70 void GetMesh(TPZGeoMesh* gmesh,
int** pdata,
double** pxy,
int** pelements);
74 void PrintGMeshVTK(TPZGeoMesh *gmesh,std::ofstream &file,
bool matColor=
true);
double deviatoricerror_threshold
double thicknesserror_threshold
double deviatoricerror_maximum
void CheckMesh(int **pdata, double **pxy, int **pelements)
std::vector< int > index2sid
void SetMesh(int **elementslist_in, IssmDouble **x_in, IssmDouble **y_in, int *numberofvertices, int *numberofelements)
double groundingline_distance
void DeleteSpecialElements(bool &verbose, TPZGeoMesh *gmesh)
double thicknesserror_groupthreshold
std::vector< int > sid2index
std::vector< int > specialelementsindex
void RefineMeshWithSmoothing(bool &verbose, TPZGeoMesh *gmesh)
void ExecuteRefinement(double *gl_distance, double *if_distance, double *deviatoricerror, double *thicknesserror, int **pdatalist, double **pxy, int **pelementslist)
void RefineMeshToAvoidHangingNodes(bool &verbose, TPZGeoMesh *gmesh)
TPZGeoMesh * CreateRefPatternMesh(TPZGeoMesh *gmesh)
TPZGeoMesh * previousmesh
void RefineMeshOneLevel(bool &verbose, double *gl_distance, double *if_distance, double *deviatoricerror, double *thicknesserror)
int VerifyRefinementType(TPZGeoEl *geoel, TPZGeoMesh *gmesh)
void GetMesh(int **elementslist_out, IssmDouble **x_out, IssmDouble **y_out, int *numberofvertices, int *numberofelements)
double deviatoricerror_groupthreshold
int GetVTK_ElType(TPZGeoEl *gel)
AdaptiveMeshRefinement & operator=(const AdaptiveMeshRefinement &cp)
virtual ~AdaptiveMeshRefinement()
void PrintGMeshVTK(TPZGeoMesh *gmesh, std::ofstream &file, bool matColor=true)
double thicknesserror_maximum