Ignore:
Timestamp:
05/26/14 21:40:16 (11 years ago)
Author:
Mathieu Morlighem
Message:

DEL: removed all FUNCTIONs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Loads/Riftfront.cpp

    r17924 r18064  
    2020
    2121/*Riftfront constructors and destructor*/
    22 /*FUNCTION Riftfront::Riftfront(){{{*/
    23 Riftfront::Riftfront(){
     22Riftfront::Riftfront(){/*{{{*/
    2423        this->parameters=NULL;
    2524        this->hnodes=NULL;
     
    3130}
    3231/*}}}*/
    33 /*FUNCTION Riftfront::Riftfront(int id, int i, IoModel* iomodel,int analysis_type){{{*/
    34 Riftfront::Riftfront(int riftfront_id,int i, IoModel* iomodel,int riftfront_analysis_type){
     32Riftfront::Riftfront(int riftfront_id,int i, IoModel* iomodel,int riftfront_analysis_type){/*{{{*/
    3533
    3634        /*data: */
     
    10199}
    102100/*}}}*/
    103 /*FUNCTION Riftfront::~Riftfront(){{{*/
    104 Riftfront::~Riftfront(){
     101Riftfront::~Riftfront(){/*{{{*/
    105102        this->parameters=NULL;
    106103        delete hnodes;
     
    111108
    112109/*Object virtual functions definitions:*/
    113 /*FUNCTION Riftfront::Echo {{{*/
    114 void Riftfront::Echo(void){
     110void Riftfront::Echo(void){/*{{{*/
    115111
    116112        _printf_("Riftfront:\n");
     
    138134}
    139135/*}}}*/
    140 /*FUNCTION Riftfront::DeepEcho{{{*/
    141 void Riftfront::DeepEcho(void){
     136void Riftfront::DeepEcho(void){/*{{{*/
    142137
    143138        _printf_("Riftfront:\n");
     
    151146}
    152147/*}}}*/
    153 /*FUNCTION Riftfront::Id {{{*/
    154 int    Riftfront::Id(void){ return id; }
    155 /*}}}*/
    156 /*FUNCTION Riftfront::ObjectEnum{{{*/
    157 int Riftfront::ObjectEnum(void){
     148int    Riftfront::Id(void){ return id; }/*{{{*/
     149/*}}}*/
     150int Riftfront::ObjectEnum(void){/*{{{*/
    158151
    159152        return RiftfrontEnum;
     
    161154}
    162155/*}}}*/
    163 /*FUNCTION Riftfront::copy {{{*/
    164 Object* Riftfront::copy() {
     156Object* Riftfront::copy() {/*{{{*/
    165157
    166158        Riftfront* riftfront=NULL;
     
    209201
    210202/*Update virtual functions definitions:*/
    211 /*FUNCTION Riftfront::InputUpdateFromConstant(bool constant,int name) {{{*/
    212 void  Riftfront::InputUpdateFromConstant(bool constant,int name){
    213 }
    214 /*}}}*/
    215 /*FUNCTION Riftfront::InputUpdateFromConstant(IssmDouble constant,int name) {{{*/
    216 void  Riftfront::InputUpdateFromConstant(IssmDouble constant,int name){
    217 
    218 }
    219 /*}}}*/
    220 /*FUNCTION Riftfront::InputUpdateFromVector(IssmDouble* constant,int name) {{{*/
    221 void    Riftfront::InputUpdateFromVector(IssmDouble* vector, int name, int type){
     203void  Riftfront::InputUpdateFromConstant(bool constant,int name){/*{{{*/
     204}
     205/*}}}*/
     206void  Riftfront::InputUpdateFromConstant(IssmDouble constant,int name){/*{{{*/
     207
     208}
     209/*}}}*/
     210void    Riftfront::InputUpdateFromVector(IssmDouble* vector, int name, int type){/*{{{*/
    222211
    223212        _error_("not implemented yet");
     
    227216
    228217/*Load virtual functions definitions:*/
    229 /*FUNCTION Riftfront::Configure {{{*/
    230 void  Riftfront::Configure(Elements* elementsin,Loads* loadsin,Nodes* nodesin,Vertices* verticesin,Materials* materialsin,Parameters* parametersin){
     218void  Riftfront::Configure(Elements* elementsin,Loads* loadsin,Nodes* nodesin,Vertices* verticesin,Materials* materialsin,Parameters* parametersin){/*{{{*/
    231219
    232220        /*Take care of hooking up all objects for this element, ie links the objects in the hooks to their respective
     
    246234}
    247235/*}}}*/
    248 /*FUNCTION Riftfront::IsPenalty{{{*/
    249 bool Riftfront::IsPenalty(void){
     236bool Riftfront::IsPenalty(void){/*{{{*/
    250237        return true;
    251238}
    252239/*}}}*/
    253 /*FUNCTION Riftfront::SetCurrentConfiguration {{{*/
    254 void  Riftfront::SetCurrentConfiguration(Elements* elementsin,Loads* loadsin,Nodes* nodesin,Vertices* verticesin,Materials* materialsin,Parameters* parametersin){
    255 
    256 }
    257 /*}}}*/
    258 /*FUNCTION Riftfront::PenaltyCreateKMatrix {{{*/
    259 void  Riftfront::PenaltyCreateKMatrix(Matrix<IssmDouble>* Kff, Matrix<IssmDouble>* Kfs,IssmDouble kmax){
     240void  Riftfront::SetCurrentConfiguration(Elements* elementsin,Loads* loadsin,Nodes* nodesin,Vertices* verticesin,Materials* materialsin,Parameters* parametersin){/*{{{*/
     241
     242}
     243/*}}}*/
     244void  Riftfront::PenaltyCreateKMatrix(Matrix<IssmDouble>* Kff, Matrix<IssmDouble>* Kfs,IssmDouble kmax){/*{{{*/
    260245
    261246        /*Retrieve parameters: */
     
    282267}
    283268/*}}}*/
    284 /*FUNCTION Riftfront::PenaltyCreatePVector {{{*/
    285 void  Riftfront::PenaltyCreatePVector(Vector<IssmDouble>* pf,IssmDouble kmax){
     269void  Riftfront::PenaltyCreatePVector(Vector<IssmDouble>* pf,IssmDouble kmax){/*{{{*/
    286270
    287271        /*Retrieve parameters: */
     
    308292}
    309293/*}}}*/
    310 /*FUNCTION Riftfront::CreateKMatrix {{{*/
    311 void  Riftfront::CreateKMatrix(Matrix<IssmDouble>* Kff, Matrix<IssmDouble>* Kfs){
     294void  Riftfront::CreateKMatrix(Matrix<IssmDouble>* Kff, Matrix<IssmDouble>* Kfs){/*{{{*/
    312295        /*do nothing: */
    313296        return;
    314297}
    315298/*}}}*/
    316 /*FUNCTION Riftfront::CreatePVector {{{*/
    317 void  Riftfront::CreatePVector(Vector<IssmDouble>* pf){
     299void  Riftfront::CreatePVector(Vector<IssmDouble>* pf){/*{{{*/
    318300        /*do nothing: */
    319301        return;
    320302}
    321303/*}}}*/
    322 /*FUNCTION Riftfront::GetNodesSidList{{{*/
    323 void Riftfront::GetNodesSidList(int* sidlist){
     304void Riftfront::GetNodesSidList(int* sidlist){/*{{{*/
    324305
    325306        _assert_(sidlist);
     
    329310}
    330311/*}}}*/
    331 /*FUNCTION Riftfront::GetNodesLidList{{{*/
    332 void Riftfront::GetNodesLidList(int* lidlist){
     312void Riftfront::GetNodesLidList(int* lidlist){/*{{{*/
    333313
    334314        _assert_(lidlist);
     
    338318}
    339319/*}}}*/
    340 /*FUNCTION Riftfront::GetNumberOfNodes{{{*/
    341 int Riftfront::GetNumberOfNodes(void){
     320int Riftfront::GetNumberOfNodes(void){/*{{{*/
    342321
    343322        return NUMVERTICES;
    344323}
    345324/*}}}*/
    346 /*FUNCTION Riftfront::InAnalysis{{{*/
    347 bool Riftfront::InAnalysis(int in_analysis_type){
     325bool Riftfront::InAnalysis(int in_analysis_type){/*{{{*/
    348326        if (in_analysis_type==this->analysis_type) return true;
    349327        else return false;
    350328}
    351329/*}}}*/
    352 /*FUNCTION Riftfront::SetwiseNodeConnectivity{{{*/
    353 void Riftfront::SetwiseNodeConnectivity(int* pd_nz,int* po_nz,Node* node,bool* flags,int* flagsindices,int set1_enum,int set2_enum){
     330void Riftfront::SetwiseNodeConnectivity(int* pd_nz,int* po_nz,Node* node,bool* flags,int* flagsindices,int set1_enum,int set2_enum){/*{{{*/
    354331
    355332        /*Output */
     
    407384
    408385/*Riftfront numerics*/
    409 /*FUNCTION Riftfront::PenaltyCreateKMatrixStressbalanceHoriz {{{*/
    410 ElementMatrix* Riftfront::PenaltyCreateKMatrixStressbalanceHoriz(IssmDouble kmax){
     386ElementMatrix* Riftfront::PenaltyCreateKMatrixStressbalanceHoriz(IssmDouble kmax){/*{{{*/
    411387
    412388        const int   numdof = NDOF2*NUMVERTICES;
     
    485461}
    486462/*}}}*/
    487 /*FUNCTION Riftfront::PenaltyCreatePVectorStressbalanceHoriz {{{*/
    488 ElementVector* Riftfront::PenaltyCreatePVectorStressbalanceHoriz(IssmDouble kmax){
     463ElementVector* Riftfront::PenaltyCreatePVectorStressbalanceHoriz(IssmDouble kmax){/*{{{*/
    489464
    490465        int        j;
     
    580555}
    581556/*}}}*/
    582 /*FUNCTION Riftfront::Constrain {{{*/
    583557#define _ZIGZAGCOUNTER_
    584 
    585 int Riftfront::Constrain(int* punstable){
     558int Riftfront::Constrain(int* punstable){/*{{{*/
    586559
    587560        IssmDouble  penetration;
     
    664637}
    665638/*}}}*/
    666 /*FUNCTION Riftfront::FreezeConstraints{{{*/
    667 void   Riftfront::FreezeConstraints(void){
     639void   Riftfront::FreezeConstraints(void){/*{{{*/
    668640
    669641        /*Just set frozen flag to 1: */
     
    672644}
    673645/*}}}*/
    674 /*FUNCTION Riftfront::IsFrozen{{{*/
    675 bool   Riftfront::IsFrozen(void){
     646bool   Riftfront::IsFrozen(void){/*{{{*/
    676647
    677648        /*Just set frozen flag to 1: */
Note: See TracChangeset for help on using the changeset viewer.