Ignore:
Timestamp:
05/08/14 10:52:36 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: removed FUNCTION

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Seg.cpp

    r17516 r17962  
    1919#define NUMVERTICES 2
    2020/*Constructors/destructor/copy*/
    21 /*FUNCTION Seg::Seg(int id, int sid,int index, IoModel* iomodel,int nummodels){{{*/
    22 Seg::Seg(int seg_id, int seg_sid, int index, IoModel* iomodel,int nummodels)
     21Seg::Seg(int seg_id, int seg_sid, int index, IoModel* iomodel,int nummodels)/*{{{*/
    2322                :SegRef(nummodels),ElementHook(nummodels,index+1,NUMVERTICES,iomodel){
    2423
     
    4039                }
    4140/*}}}*/
    42 /*FUNCTION Seg::~Seg(){{{*/
    43 Seg::~Seg(){
     41Seg::~Seg(){/*{{{*/
    4442        this->parameters=NULL;
    4543}
    4644/*}}}*/
    47 /*FUNCTION Seg::copy {{{*/
    48 Object* Seg::copy() {
     45Object* Seg::copy(){/*{{{*/
    4946        _error_("not implemented yet");
    5047}
    5148/*}}}*/
    5249
    53 /*FUNCTION Seg::CharacteristicLength{{{*/
    54 IssmDouble Seg::CharacteristicLength(void){
     50IssmDouble Seg::CharacteristicLength(void){/*{{{*/
    5551
    5652        IssmDouble xyz_list[NUMVERTICES][3];
     
    6561}
    6662/*}}}*/
    67 /*FUNCTION Seg::FiniteElement{{{*/
    68 int Seg::FiniteElement(void){
     63int        Seg::FiniteElement(void){/*{{{*/
    6964        return this->element_type;
    7065}
    7166/*}}}*/
    72 /*FUNCTION Seg::ObjectEnum{{{*/
    73 int Seg::ObjectEnum(void){
     67int        Seg::ObjectEnum(void){/*{{{*/
    7468
    7569        return SegEnum;
     
    7771}
    7872/*}}}*/
    79 
    80 void  Seg::GetIcefrontCoordinates(IssmDouble** pxyz_front,IssmDouble* xyz_list,int levelsetenum){/*{{{*/
     73void       Seg::GetIcefrontCoordinates(IssmDouble** pxyz_front,IssmDouble* xyz_list,int levelsetenum){/*{{{*/
    8174       
    8275        /* Intermediaries */
     
    10699        *pxyz_front=xyz_front;
    107100}/*}}}*/
    108 /*FUNCTION Seg::GetNumberOfNodes;{{{*/
    109 int Seg::GetNumberOfNodes(void){
     101int        Seg::GetNumberOfNodes(void){/*{{{*/
    110102        return this->NumberofNodes();
    111103}
    112104/*}}}*/
    113 /*FUNCTION Seg::GetNumberOfVertices;{{{*/
    114 int Seg::GetNumberOfVertices(void){
     105int        Seg::GetNumberOfVertices(void){/*{{{*/
    115106        return NUMVERTICES;
    116107}
    117108/*}}}*/
    118 /*FUNCTION Seg::GetVerticesCoordinates(IssmDouble** pxyz_list){{{*/
    119 void Seg::GetVerticesCoordinates(IssmDouble** pxyz_list){
     109void       Seg::GetVerticesCoordinates(IssmDouble** pxyz_list){/*{{{*/
    120110
    121111        IssmDouble* xyz_list = xNew<IssmDouble>(NUMVERTICES*3);
     
    126116
    127117}/*}}}*/
    128 bool Seg::IsIcefront(void){/*{{{*/
     118bool       Seg::IsIcefront(void){/*{{{*/
    129119
    130120        bool isicefront;
     
    145135        return isicefront;
    146136}/*}}}*/
    147 /*FUNCTION Seg::JacobianDeterminant{{{*/
    148 void Seg::JacobianDeterminant(IssmDouble* pJdet,IssmDouble* xyz_list,Gauss* gauss){
     137void       Seg::JacobianDeterminant(IssmDouble* pJdet,IssmDouble* xyz_list,Gauss* gauss){/*{{{*/
    149138
    150139        _assert_(gauss->Enum()==GaussSegEnum);
     
    153142}
    154143/*}}}*/
    155 /*FUNCTION Seg::JacobianDeterminantSurface{{{*/
    156 void Seg::JacobianDeterminantSurface(IssmDouble* pJdet,IssmDouble* xyz_list,Gauss* gauss){
     144void       Seg::JacobianDeterminantSurface(IssmDouble* pJdet,IssmDouble* xyz_list,Gauss* gauss){/*{{{*/
    157145
    158146        *pJdet = 1.;
     
    160148}
    161149/*}}}*/
    162 /*FUNCTION Seg::NewGauss(){{{*/
    163 Gauss* Seg::NewGauss(void){
     150Gauss*     Seg::NewGauss(void){/*{{{*/
    164151        return new GaussSeg();
    165152}
    166153/*}}}*/
    167 /*FUNCTION Seg::NewGauss(int order){{{*/
    168 Gauss* Seg::NewGauss(int order){
     154Gauss*     Seg::NewGauss(int order){/*{{{*/
    169155        return new GaussSeg(order);
    170156}
    171157/*}}}*/
    172 /*FUNCTION Seg::NewGauss(IssmDouble* xyz_list, IssmDouble* xyz_list_front,int order){{{*/
    173 Gauss* Seg::NewGauss(IssmDouble* xyz_list, IssmDouble* xyz_list_front,int order){
     158Gauss*     Seg::NewGauss(IssmDouble* xyz_list, IssmDouble* xyz_list_front,int order){/*{{{*/
    174159
    175160        /*Output*/
     
    189174}
    190175/*}}}*/
    191 /*FUNCTION Seg::NodalFunctions{{{*/
    192 void Seg::NodalFunctions(IssmDouble* basis, Gauss* gauss){
     176void       Seg::NodalFunctions(IssmDouble* basis, Gauss* gauss){/*{{{*/
    193177
    194178        _assert_(gauss->Enum()==GaussSegEnum);
     
    197181}
    198182/*}}}*/
    199 /*FUNCTION Seg::NodalFunctionsDerivatives{{{*/
    200 void Seg::NodalFunctionsDerivatives(IssmDouble* dbasis,IssmDouble* xyz_list,Gauss* gauss){
     183void       Seg::NodalFunctionsDerivatives(IssmDouble* dbasis,IssmDouble* xyz_list,Gauss* gauss){/*{{{*/
    201184
    202185        _assert_(gauss->Enum()==GaussSegEnum);
     
    205188}
    206189/*}}}*/
    207 /*FUNCTION Seg::NormalSection{{{*/
    208 void Seg::NormalSection(IssmDouble* normal,IssmDouble* xyz_list_front){
     190void       Seg::NormalSection(IssmDouble* normal,IssmDouble* xyz_list_front){/*{{{*/
    209191
    210192        IssmDouble* xyz_list = xNew<IssmDouble>(NUMVERTICES*3);
Note: See TracChangeset for help on using the changeset viewer.