Changeset 21494


Ignore:
Timestamp:
01/17/17 16:00:26 (8 years ago)
Author:
tsantos
Message:

CHG: cosmetics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/AdaptiveMeshRefinement.h

    r21491 r21494  
    5252   
    5353        /*General methods*/
    54         void CleanUp();                                                                                                                                                 //Clean all attributes
    55    void SetHMax(int &h);                                                   //Define the max level of refinement
    56    void SetElementWidth(int &width);                                       //Define elements width
    57         void ExecuteRefinement(int &type_process,double *vx, double *vy, double *masklevelset, long &nvertices, long &nelements, long &nsegments, double** x, double** y, double** z, long*** elements, long*** segments=NULL);                                 //A new mesh will be created and refined. This returns the new mesh
    58         void CreateInitialMesh(long &nvertices, long &nelements, long &nsegments, int &width, double* x, double* y, double* z, long** elements, long** segments=NULL); //Create a NeoPZ geometric mesh by coords and elements
    59    void CheckMesh(long &nvertices, long &nelements, long &nsegments, int &width, double* x, double* y, double* z, long** elements, long** segments=NULL); //Check the consistency of the mesh
     54        void CleanUp();                                                                                                                                                 // Clean all attributes
     55   void SetHMax(int &h);                                                   // Define the max level of refinement
     56   void SetElementWidth(int &width);                                       // Define elements width
     57        void ExecuteRefinement(int &type_process,double *vx, double *vy, double *masklevelset, long &nvertices, long &nelements, long &nsegments, double** x, double** y, double** z, long*** elements, long*** segments=NULL);                                 // A new mesh will be created and refined. This returns the new mesh
     58        void CreateInitialMesh(long &nvertices, long &nelements, long &nsegments, int &width, double* x, double* y, double* z, long** elements, long** segments=NULL); // Create a NeoPZ geometric mesh by coords and elements
     59   void CheckMesh(long &nvertices, long &nelements, long &nsegments, int &width, double* x, double* y, double* z, long** elements, long** segments=NULL); // Check the consistency of the mesh
    6060
    6161private:
    6262
    6363        /*Private attributes*/
    64    int elementswidth;                                                      // geometric nodes for element: 3 == Tria, 4 == Tetra, 6 == Penta
    65    int hmax;                                                               // max level of refinement
     64   int elementswidth;                                                      // Geometric nodes for element: 3 == Tria, 4 == Tetra, 6 == Penta
     65   int hmax;                                                               // Max level of refinement
    6666        TPZGeoMesh *fathermesh;                                                                                                                                 // Father Mesh is the entire mesh without refinement
    6767        TPZGeoMesh *previousmesh;                                                                                                                               // Previous mesh is a refined mesh of last step
     
    7373        void SetElementsToRefine(TPZGeoMesh *gmesh,std::vector<TPZVec<REAL> > &GLvec,int &hlevel, std::vector<long> &ElemVec);  //Define wich elements will be refined
    7474   void TagAllElements(TPZGeoMesh *gmesh,std::vector<long> &ElemVec);                            // This tag all elements to be refined, that is, refine all elements
    75    void TagElementsNearGroundingLine(TPZGeoMesh *gmesh,std::vector<TPZVec<REAL> > &GLvec,int &hlevel,std::vector<long> &ElemVec);    //This tag elements near the grounding line
    76    void CalcGroundingLinePosition(double *masklevelset,std::vector<TPZVec<REAL> > &GLvec);      // calculate the grounding line position using previous mesh
    77         void GetMesh(TPZGeoMesh *gmesh, long &nvertices, long &nelements, long &nsegments, double** meshX, double** meshY, double** meshZ, long*** elements, long*** segments=NULL); //Return coords and elements in ISSM data structure
     75   void TagElementsNearGroundingLine(TPZGeoMesh *gmesh,std::vector<TPZVec<REAL> > &GLvec,int &hlevel,std::vector<long> &ElemVec);    // This tag elements near the grounding line
     76   void CalcGroundingLinePosition(double *masklevelset,std::vector<TPZVec<REAL> > &GLvec);      // Calculate the grounding line position using previous mesh
     77        void GetMesh(TPZGeoMesh *gmesh, long &nvertices, long &nelements, long &nsegments, double** meshX, double** meshY, double** meshZ, long*** elements, long*** segments=NULL); // Return coords and elements in ISSM data structure
    7878   inline int GetElemMaterialID(){return 1;}                               // Return element material ID
    7979   inline int GetBoundaryMaterialID(){return 2;}                           // Return segment (2D boundary) material ID
Note: See TracChangeset for help on using the changeset viewer.