Changeset 15982


Ignore:
Timestamp:
08/27/13 15:36:54 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: Element do not update constraints

Location:
issm/trunk-jpl/src/c/classes
Files:
6 edited

Legend:

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

    r15972 r15982  
    7878                virtual void   Delta18oParameterization(void)=0;
    7979                virtual void   SmbGradients()=0;
    80                 virtual void UpdateConstraints(void)=0;
    8180                virtual void   ResetCoordinateSystem()=0;
    8281
  • issm/trunk-jpl/src/c/classes/Elements/Penta.cpp

    r15978 r15982  
    37223722                        break;
    37233723        }
    3724 }
    3725 /*}}}*/
    3726 /*FUNCTION Penta::UpdateConstraints{{{*/
    3727 void Penta::UpdateConstraints(void){
    3728 
    3729         /*Do nothing for now*/
    3730 
    37313724}
    37323725/*}}}*/
  • issm/trunk-jpl/src/c/classes/Elements/Penta.h

    r15972 r15982  
    231231                Tria*            SpawnTria(int location);
    232232                void             SurfaceNormal(IssmDouble* surface_normal, IssmDouble xyz_list[3][3]);
    233                 void           UpdateConstraints(void);
    234233
    235234                #ifdef _HAVE_STRESSBALANCE_
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r15978 r15982  
    24982498        //this->parameters: we still can't point to it, it may not even exist. Configure will handle this.
    24992499        this->parameters=NULL;
    2500 }
    2501 /*}}}*/
    2502 /*FUNCTION Tria::UpdateConstraints{{{*/
    2503 void  Tria::UpdateConstraints(void){
    2504 
    2505         int analysis_type;
    2506         parameters->FindParam(&analysis_type,AnalysisTypeEnum);
    2507 
    2508         /*Skip if water element*/
    2509         if(NoIceInElement()) return;
    2510 
    25112500}
    25122501/*}}}*/
  • issm/trunk-jpl/src/c/classes/Elements/Tria.h

    r15972 r15982  
    223223                void             SetClone(int* minranks);
    224224                void             SurfaceNormal(IssmDouble* surface_normal, IssmDouble xyz_list[3][3]);
    225                 void             UpdateConstraints(void);
    226225
    227226                #ifdef _HAVE_STRESSBALANCE_
  • issm/trunk-jpl/src/c/classes/FemModel.cpp

    r15853 r15982  
    686686        /*start module: */
    687687        if(VerboseModule()) _printf0_("   Updating constraints for time: " << time << "\n");
    688 
    689         /*First, Nodes might be activated/deactivated by element*/
    690         for(int i=0;i<elements->Size();i++){
    691                 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    692                 element->UpdateConstraints();
    693         }
    694688
    695689        /*Second, constraints might be time dependent: */
Note: See TracChangeset for help on using the changeset viewer.