Changeset 3788


Ignore:
Timestamp:
05/17/10 16:21:18 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

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

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Inputs/IntInput.cpp

    r3784 r3788  
    135135/*}}}*/
    136136/*FUNCTION IntInput::GetParameterValue(int* pvalue){{{1*/
    137 void IntInput::GetParameterValue(int* pvalue){ISSMERROR(" not supported yet!");}
     137void IntInput::GetParameterValue(int* pvalue){
     138        ISSMERROR(" not supported yet!");
     139}
    138140/*}}}*/
    139141/*FUNCTION IntInput::GetParameterValue(double* pvalue){{{1*/
  • issm/trunk/src/c/objects/Loads/Icefront.cpp

    r3784 r3788  
    139139
    140140/*Object marshall*/
    141 /*FUNCTION Icefront Configure {{{1*/
     141/*FUNCTION Icefront::Configure {{{1*/
    142142void  Icefront::Configure(DataSet* elementsin,DataSet* loadsin,DataSet* nodesin,DataSet* verticesin,DataSet* materialsin,Parameters* parametersin){
    143143
     
    152152}
    153153/*}}}*/
    154 /*FUNCTION Icefront copy {{{1*/
     154/*FUNCTION Icefront::copy {{{1*/
    155155Object* Icefront::copy() {
    156156        return new Icefront(this->id,&this->hnodes,&this->helement,&this->hmatpar,this->parameters,this->inputs);
     
    201201}
    202202/*}}}*/
    203 /*FUNCTION Icefront Echo {{{1*/
     203/*FUNCTION Icefront::Echo {{{1*/
    204204void Icefront::Echo(void){
    205         this->DeepEcho();
    206 }
    207 /*}}}*/
    208 /*FUNCTION Icefront Enum {{{1*/
     205        printf("Icefront:\n");
     206        printf("   id: %i\n",id);
     207        hnodes.Echo();
     208        helement.Echo();
     209        hmatpar.Echo();
     210        printf("   parameters\n");
     211        parameters->Echo();
     212        printf("   inputs\n");
     213        inputs->Echo();
     214}
     215/*}}}*/
     216/*FUNCTION Icefront::Enum {{{1*/
    209217int Icefront::Enum(void){
    210218
     
    213221}
    214222/*}}}*/
    215 /*FUNCTION Icefront Id {{{1*/
     223/*FUNCTION Icefront::Id {{{1*/
    216224int    Icefront::Id(void){ return id; }
    217225/*}}}*/
     
    265273}
    266274/*}}}*/
    267 /*FUNCTION Icefront MyRank {{{1*/
     275/*FUNCTION Icefront::MyRank {{{1*/
    268276int    Icefront::MyRank(void){
    269277        extern int my_rank;
     
    273281
    274282/*Object functions*/
    275 /*FUNCTION Icefront CreateKMatrix {{{1*/
     283/*FUNCTION Icefront::CreateKMatrix {{{1*/
    276284
    277285void  Icefront::CreateKMatrix(Mat Kgg,int analysis_type,int sub_analysis_type){
     
    283291}
    284292/*}}}*/
    285 /*FUNCTION Icefront CreatePVector {{{1*/
     293/*FUNCTION Icefront::CreatePVector {{{1*/
    286294void  Icefront::CreatePVector(Vec pg, int analysis_type,int sub_analysis_type){
    287295
     
    312320}
    313321/*}}}*/
    314 /*FUNCTION Icefront CreatePVectorDiagnosticHoriz {{{1*/
     322/*FUNCTION Icefront::CreatePVectorDiagnosticHoriz {{{1*/
    315323void Icefront::CreatePVectorDiagnosticHoriz( Vec pg,  int analysis_type,int sub_analysis_type){
    316324       
     
    322330                CreatePVectorDiagnosticHorizSegment(pg,analysis_type,sub_analysis_type);
    323331        }
    324         else{
     332        else if (type==QuadIceFrontEnum){
    325333                CreatePVectorDiagnosticHorizQuad(pg,analysis_type,sub_analysis_type);
    326334        }
     335        else ISSMERROR("type %i not supported",type);
    327336}       
    328337/*}}}*/
    329 /*FUNCTION Icefront CreatePVectorDiagnosticHorizSegment{{{1*/
     338/*FUNCTION Icefront::CreatePVectorDiagnosticHorizSegment{{{1*/
    330339void Icefront::CreatePVectorDiagnosticHorizSegment( Vec pg,int analysis_type,int sub_analysis_type){
    331340
     
    420429}
    421430/*}}}*/
    422 /*FUNCTION Icefront CreatePVectorDiagnosticHorizQuad {{{1*/
     431/*FUNCTION Icefront::CreatePVectorDiagnosticHorizQuad {{{1*/
    423432void Icefront::CreatePVectorDiagnosticHorizQuad( Vec pg,int analysis_type,int sub_analysis_type){
    424433
     
    558567}
    559568/*}}}*/
    560 /*FUNCTION Icefront CreatePVectorDiagnosticStokes {{{1*/
     569/*FUNCTION Icefront::CreatePVectorDiagnosticStokes {{{1*/
    561570void Icefront::CreatePVectorDiagnosticStokes( Vec pg,int analysis_type,int sub_analysis_type){
    562571
     
    695704}
    696705/*}}}*/
    697 /*FUNCTION Icefront DistributeNumDofs {{{1*/
     706/*FUNCTION Icefront::DistributeNumDofs {{{1*/
    698707void  Icefront::DistributeNumDofs(int* numdofspernode,int analysis_type,int sub_analysis_type){return;}
    699708               
    700709/*}}}*/
    701 /*FUNCTION Icefront GetDofList{{{1*/
     710/*FUNCTION Icefront::GetDofList{{{1*/
    702711
    703712void  Icefront::GetDofList(int* doflist,int* pnumberofdofspernode){
     
    735744}
    736745/*}}}*/
    737 /*FUNCTION Icefront PenaltyCreateKMatrix {{{1*/
     746/*FUNCTION Icefront::PenaltyCreateKMatrix {{{1*/
    738747void  Icefront::PenaltyCreateKMatrix(Mat Kgg,double kmax,int analysis_type,int sub_analysis_type){
    739748        /*do nothing: */
    740749}
    741750/*}}}*/
    742 /*FUNCTION Icefront PenaltyCreatePVector{{{1*/
     751/*FUNCTION Icefront::PenaltyCreatePVector{{{1*/
    743752void  Icefront::PenaltyCreatePVector(Vec pg,double kmax,int analysis_type,int sub_analysis_type){
    744753        /*do nothing: */
    745754}
    746755/*}}}*/
    747 /*FUNCTION Icefront QuadPressureLoad {{{1*/
     756/*FUNCTION Icefront::QuadPressureLoad {{{1*/
    748757void Icefront::QuadPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list,
    749758                                              double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list){
     
    10061015}
    10071016/*}}}*/
    1008 /*FUNCTION Icefront QuadPressureLoadStokes {{{1*/
     1017/*FUNCTION Icefront::QuadPressureLoadStokes {{{1*/
    10091018void Icefront::QuadPressureLoadStokes(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list,
    10101019                                              double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list){
     
    12661275}
    12671276/*}}}*/
    1268 /*FUNCTION Icefront SegmentPressureLoad {{{1*/
     1277/*FUNCTION Icefront::SegmentPressureLoad {{{1*/
    12691278
    12701279void Icefront::SegmentPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, double* normal,double length){
Note: See TracChangeset for help on using the changeset viewer.