Changeset 3875


Ignore:
Timestamp:
05/21/10 11:20:10 (15 years ago)
Author:
Mathieu Morlighem
Message:

some fixing

Location:
issm/trunk/src/c/objects
Files:
4 edited

Legend:

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

    r3874 r3875  
    45684568}
    45694569/*}}}*/
     4570/*FUNCTION Penta::UpdateInputsFromConstant(bool value, int name);{{{1*/
     4571void  Penta::UpdateInputsFromConstant(bool constant, int name){
     4572        /*Nothing updated for now*/
     4573}
     4574/*}}}*/
     4575/*FUNCTION Penta::UpdateInputsFromConstant(double value, int name);{{{1*/
     4576void  Penta::UpdateInputsFromConstant(double constant, int name){
     4577        /*Nothing updated for now*/
     4578}
     4579/*}}}*/
  • issm/trunk/src/c/objects/Elements/Penta.h

    r3871 r3875  
    153153                void  UpdateInputsFromVector(int* vector, int name, int type);
    154154                void  UpdateInputsFromVector(bool* vector, int name, int type);
    155                 void  UpdateInputsFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}
     155                void  UpdateInputsFromConstant(double constant, int name);
    156156                void  UpdateInputsFromConstant(int constant, int name);
    157                 void  UpdateInputsFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}
     157                void  UpdateInputsFromConstant(bool constant, int name);
    158158                /*}}}*/
    159159
  • issm/trunk/src/c/objects/Inputs/PentaVertexInput.cpp

    r3855 r3875  
    242242        double B[8][27];
    243243        double B_reduced[6][DOFVELOCITY*numgrids];
    244         double velocity[3][DOFVELOCITY];
     244        double velocity[numgrids][DOFVELOCITY];
    245245
    246246        /*Get B matrix: */
     
    287287        double B[8][27];
    288288        double B_reduced[6][DOFVELOCITY*numgrids];
    289         double velocity[3][DOFVELOCITY];
     289        double velocity[numgrids][DOFVELOCITY];
    290290
    291291        /*Get B matrix: */
     
    332332        double B[8][27];
    333333        double B_reduced[6][DOFVELOCITY*numgrids];
    334         double velocity[3][DOFVELOCITY];
     334        double velocity[numgrids][DOFVELOCITY];
    335335
    336336        /*Get B matrix: */
  • issm/trunk/src/c/objects/Loads/Pengrid.cpp

    r3872 r3875  
    739739/*FUNCTION Pengrid::UpdateInputsFromConstant(bool constant, int name) {{{1*/
    740740void  Pengrid::UpdateInputsFromConstant(bool constant, int name){
    741         /*Nothing updated yet*/
     741
     742        switch(name){
     743
     744                case ResetPenaltiesEnum:
     745                        if (constant) zigzag_counter=0;
     746                        return;
     747
     748        }
    742749}
    743750/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.