Ignore:
Timestamp:
09/23/10 11:58:43 (14 years ago)
Author:
Mathieu Morlighem
Message:

Deleted NewElementVector. Direct call to constructor now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r5946 r5986  
    34733473        /*Initialize Element vector and return if necessary*/
    34743474        if(IsOnWater()) return NULL;
    3475         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     3475        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    34763476
    34773477        /*Retrieve all inputs and parameters*/
     
    35173517        /*Initialize Element vector and return if necessary*/
    35183518        if(IsOnWater()) return NULL;
    3519         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     3519        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    35203520
    35213521        /*Retrieve all inputs and parameters*/
     
    35613561        /*Initialize Element vector and return if necessary*/
    35623562        if(IsOnWater()) return NULL;
    3563         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     3563        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    35643564
    35653565        /*Retrieve all inputs and parameters*/
     
    36063606        /*Initialize Element vector and return if necessary*/
    36073607        if(IsOnWater()) return NULL;
    3608         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     3608        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    36093609
    36103610        /*Retrieve all inputs and parameters*/
     
    36673667        /*Initialize Element vector and return if necessary*/
    36683668        if(IsOnWater()) return NULL;
    3669         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum);
     3669        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum);
    36703670
    36713671        /*Retrieve all inputs and parameters*/
     
    37323732        /*Initialize Element vector and return if necessary*/
    37333733        if(IsOnWater()) return NULL;
    3734         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     3734        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    37353735
    37363736        /*Retrieve all inputs and parameters*/
     
    37863786        /*Initialize Element vector and return if necessary*/
    37873787        if(IsOnWater()) return NULL;
    3788         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     3788        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    37893789
    37903790        /*Retrieve all inputs and parameters*/
     
    39673967        /*Initialize Element vector and return if necessary*/
    39683968        if(IsOnWater()) return NULL;
    3969         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);
     3969        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);
    39703970
    39713971        /*Retrieve all inputs and parameters*/
     
    41374137        /*Initialize Element vector and return if necessary*/
    41384138        if(IsOnWater()) return NULL;
    4139         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     4139        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    41404140
    41414141        /*Retrieve all inputs and parameters*/
     
    42044204        /*Initialize Element vector and return if necessary*/
    42054205        if(IsOnWater()) return NULL;
    4206         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     4206        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    42074207
    42084208        /*Retrieve all inputs and parameters*/
     
    42504250        /*Initialize Element vector and return if necessary*/
    42514251        if(IsOnWater()) return NULL;
    4252         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     4252        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    42534253
    42544254        /*Retrieve all inputs and parameters*/
     
    42974297        /*Initialize Element vector and return if necessary*/
    42984298        if(IsOnWater()) return NULL;
    4299         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     4299        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    43004300
    43014301        /*Retrieve all inputs and parameters*/
     
    43524352        /*Initialize Element vector and return if necessary*/
    43534353        if(IsOnWater()) return NULL;
    4354         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     4354        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    43554355
    43564356        /*Retrieve all inputs and parameters*/
     
    44104410        /*Initialize Element vector and return if necessary*/
    44114411        if(IsOnWater()) return NULL;
    4412         ElementVector* pe=NewElementVector(nodes,NUMVERTICES,this->parameters);
     4412        ElementVector* pe=new ElementVector(nodes,NUMVERTICES,this->parameters);
    44134413
    44144414        /*Retrieve all inputs and parameters*/
Note: See TracChangeset for help on using the changeset viewer.