Ignore:
Timestamp:
07/04/13 10:44:52 (12 years ago)
Author:
Mathieu Morlighem
Message:

NEW: mesh properties (elements,dim,numberofvertices,...) are now Iomodel fields and fetch in the constructor. This cleans up ModelProcessor and will ease the implementation of quadratic elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/DiagnosticVert/CreateNodesDiagnosticVert.cpp

    r15423 r15428  
    1212
    1313        /*Intermediary*/
    14         int i;
    1514        bool continuous_galerkin=true;
    16         int    numberofvertices;
    17 
    18         /*Fetch parameters: */
    19         iomodel->Constant(&numberofvertices,MeshNumberofverticesEnum);
    2015
    2116        /*Recover pointer: */
     
    3732        iomodel->FetchData(6,MeshVertexonbedEnum,MeshVertexonsurfaceEnum,MaskVertexongroundediceEnum,MaskVertexonfloatingiceEnum,FlowequationVertexEquationEnum,MaskVertexonwaterEnum);
    3833
    39         for (i=0;i<numberofvertices;i++){
     34        for(int i=0;i<iomodel->numberofvertices;i++){
    4035                if(iomodel->my_vertices[i]){
    4136
Note: See TracChangeset for help on using the changeset viewer.