Changeset 4927


Ignore:
Timestamp:
08/02/10 13:40:10 (15 years ago)
Author:
seroussi
Message:

removed Beam from code (only BeamRef now)

Location:
issm/trunk/src/c
Files:
6 deleted
32 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Container/DataSet.cpp

    r4899 r4927  
    234234                        dataset->AddObject(pentavertexinput);
    235235                }
    236                 else if(enum_type==BeamVertexInputEnum){
    237                         BeamVertexInput* beamvertexinput=NULL;
    238                         beamvertexinput=new BeamVertexInput();
    239                         beamvertexinput->Demarshall(&marshalled_dataset);
    240                         dataset->AddObject(beamvertexinput);
    241                 }
    242236                else if(enum_type==TriaVertexElementResultEnum){
    243237                        TriaVertexElementResult* triavertexelementresult=NULL;
     
    252246                        dataset->AddObject(pentavertexelementresult);
    253247                }
    254                 else if(enum_type==BeamEnum){
    255                         Beam* beam=NULL;
    256                         beam=new Beam();
    257                         beam->Demarshall(&marshalled_dataset);
    258                         dataset->AddObject(beam);
    259                 }
    260248                else if(enum_type==PentaEnum){
    261249                        Penta* penta=NULL;
  • issm/trunk/src/c/Container/Inputs.cpp

    r4905 r4927  
    382382}
    383383/*}}}*/
    384 /*FUNCTION Inputs::SpawnBeamInputs{{{1*/
    385 Inputs* Inputs::SpawnBeamInputs(int* indices){
    386 
    387         /*Intermediary*/
    388         vector<Object*>::iterator object;
    389         Input* inputin=NULL;
    390         Input* inputout=NULL;
    391 
    392         /*Output*/
    393         Inputs* newinputs=new Inputs();
    394 
    395         /*Go through inputs and call Spawn function*/
    396         for ( object=objects.begin() ; object < objects.end(); object++ ){
    397 
    398                 /*Create new input*/
    399                 inputin=(Input*)(*object);
    400                 inputout=inputin->SpawnBeamInput(indices);
    401 
    402                 /*Add input to new inputs*/
    403                 newinputs->AddObject(inputout);
    404         }
    405 
    406         /*Assign output pointer*/
    407         return newinputs;
    408 }
    409 /*}}}*/
    410384/*FUNCTION Inputs::SpawnTriaInputs{{{1*/
    411385Inputs* Inputs::SpawnTriaInputs(int* indices){
  • issm/trunk/src/c/Container/Inputs.h

    r4905 r4927  
    3232                Input*  GetInput(int enum_name);
    3333                Inputs* SpawnTriaInputs(int* indices);
    34                 Inputs* SpawnBeamInputs(int* indices);
    3534               
    3635                void GetParameterValue(bool* pvalue,int enum_type);
  • issm/trunk/src/c/Container/Results.cpp

    r4899 r4927  
    4343
    4444/*Object management*/
    45 /*FUNCTION Results::SpawnBeamResults{{{1*/
    46 Results* Results::SpawnBeamResults(int* indices){
    47 
    48         /*Intermediary*/
    49         vector<Object*>::iterator object;
    50         ElementResult* resultin=NULL;
    51         ElementResult* resultout=NULL;
    52 
    53         /*Output*/
    54         Results* newresults=new Results();
    55 
    56         /*Go through results and call Spawn function*/
    57         for ( object=objects.begin() ; object < objects.end(); object++ ){
    58 
    59                 /*Create new result*/
    60                 resultin=(ElementResult*)(*object);
    61                 resultout=resultin->SpawnBeamElementResult(indices);
    62 
    63                 /*Add result to new results*/
    64                 newresults->AddObject((Object*)resultout);
    65         }
    66 
    67         /*Assign output pointer*/
    68         return newresults;
    69 }
    70 /*}}}*/
    7145/*FUNCTION Results::SpawnTriaResults{{{1*/
    7246Results* Results::SpawnTriaResults(int* indices){
  • issm/trunk/src/c/Container/Results.h

    r4899 r4927  
    2727                /*numerics: {{{1*/
    2828                Results* SpawnTriaResults(int* indices);
    29                 Results* SpawnBeamResults(int* indices);
    3029                /*}}}*/
    3130
  • issm/trunk/src/c/EnumDefinitions/EnumAsString.cpp

    r4914 r4927  
    8484                case SegmentEnum : return "Segment";
    8585                case ElementEnum : return "Element";
    86                 case BeamEnum : return "Beam";
    8786                case DofIndexingEnum : return "DofIndexing";
    8887                case ElementPropertiesEnum : return "ElementProperties";
     
    106105                case MatparEnum : return "Matpar";
    107106                case InputEnum : return "Input";
    108                 case BeamVertexInputEnum : return "BeamVertexInput";
    109107                case BoolInputEnum : return "BoolInput";
    110108                case DoubleInputEnum : return "DoubleInput";
     
    228226                case TriaVertexElementResultEnum : return "TriaVertexElementResult";
    229227                case PentaVertexElementResultEnum : return "PentaVertexElementResult";
    230                 case BeamVertexElementResultEnum : return "BeamVertexElementResult";
    231228                case BoolExternalResultEnum : return "BoolExternalResult";
    232229                case DoubleExternalResultEnum : return "DoubleExternalResult";
  • issm/trunk/src/c/EnumDefinitions/EnumDefinitions.h

    r4910 r4927  
    9797        /*Elements: */
    9898        ElementEnum,
    99         BeamEnum,
    10099        DofIndexingEnum,
    101100        ElementPropertiesEnum,
     
    123122        /*Inputs: */
    124123        InputEnum,
    125         BeamVertexInputEnum,
    126124        BoolInputEnum,
    127125        DoubleInputEnum,
     
    259257        TriaVertexElementResultEnum,
    260258        PentaVertexElementResultEnum,
    261         BeamVertexElementResultEnum,
    262259        BoolExternalResultEnum,
    263260        DoubleExternalResultEnum,
  • issm/trunk/src/c/EnumDefinitions/StringAsEnum.cpp

    r4914 r4927  
    8282        else if (strcmp(name,"Segment")==0) return SegmentEnum;
    8383        else if (strcmp(name,"Element")==0) return ElementEnum;
    84         else if (strcmp(name,"Beam")==0) return BeamEnum;
    8584        else if (strcmp(name,"DofIndexing")==0) return DofIndexingEnum;
    8685        else if (strcmp(name,"ElementProperties")==0) return ElementPropertiesEnum;
     
    104103        else if (strcmp(name,"Matpar")==0) return MatparEnum;
    105104        else if (strcmp(name,"Input")==0) return InputEnum;
    106         else if (strcmp(name,"BeamVertexInput")==0) return BeamVertexInputEnum;
    107105        else if (strcmp(name,"BoolInput")==0) return BoolInputEnum;
    108106        else if (strcmp(name,"DoubleInput")==0) return DoubleInputEnum;
     
    226224        else if (strcmp(name,"TriaVertexElementResult")==0) return TriaVertexElementResultEnum;
    227225        else if (strcmp(name,"PentaVertexElementResult")==0) return PentaVertexElementResultEnum;
    228         else if (strcmp(name,"BeamVertexElementResult")==0) return BeamVertexElementResultEnum;
    229226        else if (strcmp(name,"BoolExternalResult")==0) return BoolExternalResultEnum;
    230227        else if (strcmp(name,"DoubleExternalResult")==0) return DoubleExternalResultEnum;
  • issm/trunk/src/c/Makefile.am

    r4910 r4927  
    114114                                        ./objects/ElementResults/PentaVertexElementResult.h\
    115115                                        ./objects/ElementResults/PentaVertexElementResult.cpp\
    116                                         ./objects/ElementResults/BeamVertexElementResult.h\
    117                                         ./objects/ElementResults/BeamVertexElementResult.cpp\
    118116                                        ./objects/ExternalResults/ExternalResult.h\
    119117                                        ./objects/ExternalResults/BoolExternalResult.h\
     
    141139                                        ./objects/Inputs/TriaVertexInput.h\
    142140                                        ./objects/Inputs/TriaVertexInput.cpp\
    143                                         ./objects/Inputs/BeamVertexInput.h\
    144                                         ./objects/Inputs/BeamVertexInput.cpp\
    145141                                        ./objects/Inputs/PentaVertexInput.h\
    146142                                        ./objects/Inputs/PentaVertexInput.cpp\
     
    151147                                        ./objects/Inputs/DoubleInput.h\
    152148                                        ./objects/Inputs/DoubleInput.cpp\
    153                                         ./objects/Elements/Beam.h\
    154                                         ./objects/Elements/Beam.cpp\
    155149                                        ./objects/Elements/BeamRef.h\
    156150                                        ./objects/Elements/BeamRef.cpp\
     
    672666                                        ./objects/ElementResults/PentaVertexElementResult.h\
    673667                                        ./objects/ElementResults/PentaVertexElementResult.cpp\
    674                                         ./objects/ElementResults/BeamVertexElementResult.h\
    675                                         ./objects/ElementResults/BeamVertexElementResult.cpp\
    676668                                        ./objects/ExternalResults/ExternalResult.h\
    677669                                        ./objects/ExternalResults/BoolExternalResult.h\
     
    699691                                        ./objects/Inputs/TriaVertexInput.h\
    700692                                        ./objects/Inputs/TriaVertexInput.cpp\
    701                                         ./objects/Inputs/BeamVertexInput.h\
    702                                         ./objects/Inputs/BeamVertexInput.cpp\
    703693                                        ./objects/Inputs/PentaVertexInput.h\
    704694                                        ./objects/Inputs/PentaVertexInput.cpp\
     
    709699                                        ./objects/Inputs/DoubleInput.h\
    710700                                        ./objects/Inputs/DoubleInput.cpp\
    711                                         ./objects/Elements/Beam.h\
    712                                         ./objects/Elements/Beam.cpp\
    713701                                        ./objects/Elements/BeamRef.h\
    714702                                        ./objects/Elements/BeamRef.cpp\
  • issm/trunk/src/c/objects/ElementResults/DoubleElementResult.cpp

    r4899 r4927  
    142142}
    143143/*}}}*/
    144 /*FUNCTION DoubleElementResult::SpawnBeamElementResult{{{1*/
    145 ElementResult* DoubleElementResult::SpawnBeamElementResult(int* indices){
    146 
    147         /*output*/
    148         DoubleElementResult* outresult=new DoubleElementResult();
    149 
    150         /*copy fields: */
    151         outresult->enum_type=this->enum_type;
    152         outresult->value=this->value;
    153         outresult->time=this->time;
    154         outresult->step=this->step;
    155 
    156 
    157         /*Assign output*/
    158         return outresult;
    159 
    160 }
    161 /*}}}*/
    162144/*FUNCTION DoubleElementResult::SpawnTriaElementResult{{{1*/
    163145ElementResult* DoubleElementResult::SpawnTriaElementResult(int* indices){
  • issm/trunk/src/c/objects/ElementResults/DoubleElementResult.h

    r4899 r4927  
    4242                /*}}}*/
    4343                /*ElementResult virtual functions definitions: {{{1*/
    44                 ElementResult* SpawnBeamElementResult(int* indices);
    4544                ElementResult* SpawnTriaElementResult(int* indices);
    4645                void    ProcessUnits(Parameters* parameters);
  • issm/trunk/src/c/objects/ElementResults/ElementResult.h

    r4899 r4927  
    1818                virtual        ~ElementResult(){};
    1919               
    20                 virtual         ElementResult* SpawnBeamElementResult(int* indices)=0;
    2120                virtual         ElementResult* SpawnTriaElementResult(int* indices)=0;
    2221                virtual void    ProcessUnits(Parameters* parameters)=0;
  • issm/trunk/src/c/objects/ElementResults/PentaVertexElementResult.cpp

    r4899 r4927  
    145145}
    146146/*}}}*/
    147 /*FUNCTION PentaVertexElementResult::SpawnBeamElementResult{{{1*/
    148 ElementResult* PentaVertexElementResult::SpawnBeamElementResult(int* indices){
    149 
    150         /*output*/
    151         BeamVertexElementResult* outresult=NULL;
    152         double newvalues[2];
    153 
    154         /*Loop over the new indices*/
    155         for(int i=0;i<2;i++){
    156 
    157                 /*Check index value*/
    158                 ISSMASSERT(indices[i]>=0 && indices[i]<6);
    159 
    160                 /*Assign value to new result*/
    161                 newvalues[i]=this->values[indices[i]];
    162         }
    163 
    164         /*Create new Beam result*/
    165         outresult=new BeamVertexElementResult(this->enum_type,&newvalues[0],this->step,this->time);
    166 
    167         /*Assign output*/
    168         return outresult;
    169 
    170 }
    171 /*}}}*/
    172147/*FUNCTION PentaVertexElementResult::SpawnTriaElementResult{{{1*/
    173148ElementResult* PentaVertexElementResult::SpawnTriaElementResult(int* indices){
  • issm/trunk/src/c/objects/ElementResults/PentaVertexElementResult.h

    r4899 r4927  
    4141                /*}}}*/
    4242                /*ElementResult virtual functions definitions: {{{1*/
    43                 ElementResult* SpawnBeamElementResult(int* indices);
    4443                ElementResult* SpawnTriaElementResult(int* indices);
    4544                void    ProcessUnits(Parameters* parameters);
  • issm/trunk/src/c/objects/ElementResults/TriaVertexElementResult.cpp

    r4899 r4927  
    145145}
    146146/*}}}*/
    147 /*FUNCTION BeamVertexElementResult::SpawnBeamElementResult{{{1*/
    148 ElementResult* TriaVertexElementResult::SpawnBeamElementResult(int* indices){
    149 
    150         /*output*/
    151         BeamVertexElementResult* outresult=NULL;
    152         double newvalues[2];
    153 
    154         /*Loop over the new indices*/
    155         for(int i=0;i<2;i++){
    156 
    157                 /*Check index value*/
    158                 ISSMASSERT(indices[i]>=0 && indices[i]<3);
    159 
    160                 /*Assign value to new result*/
    161                 newvalues[i]=this->values[indices[i]];
    162         }
    163 
    164         /*Create new Beam result*/
    165         outresult=new BeamVertexElementResult(this->enum_type,&newvalues[0],this->step,this->time);
    166 
    167         /*Assign output*/
    168         return outresult;
    169 
    170 }
    171 /*}}}*/
    172147/*FUNCTION TriaVertexElementResult::SpawnTriaElementResult{{{1*/
    173148ElementResult* TriaVertexElementResult::SpawnTriaElementResult(int* indices){
  • issm/trunk/src/c/objects/ElementResults/TriaVertexElementResult.h

    r4899 r4927  
    4040                /*}}}*/
    4141                /*ElementResult virtual functions definitions: {{{1*/
    42                 ElementResult* SpawnBeamElementResult(int* indices);
    4342                ElementResult* SpawnTriaElementResult(int* indices);
    4443                void    ProcessUnits(Parameters* parameters);
  • issm/trunk/src/c/objects/Elements/Penta.cpp

    r4926 r4927  
    54705470}
    54715471/*}}}*/
    5472 /*FUNCTION Penta::SpawnBeam {{{1*/
    5473 void* Penta::SpawnBeam(int g0, int g1){
    5474 
    5475         int i;
    5476 
    5477         /*out of grids g0,g1 and g2 from Penta, build a beam element: */
    5478         Beam* beam=NULL;
    5479         int indices[2];
    5480         int zero=0;
    5481         Parameters *beam_parameters = NULL;
    5482         Inputs     *beam_inputs     = NULL;
    5483 
    5484         indices[0]=g0;
    5485         indices[1]=g1;
    5486 
    5487         beam_parameters=this->parameters;
    5488         beam_inputs=(Inputs*)this->inputs->SpawnBeamInputs(indices);
    5489 
    5490         beam=new Beam();
    5491         beam->id=this->id;
    5492         beam->inputs=beam_inputs;
    5493         beam->parameters=beam_parameters;
    5494 
    5495         /*now deal with ndoes,matice and matpar: */
    5496         beam->nodes=(Node**)xmalloc(2*sizeof(Node*));
    5497         for(i=0;i<2;i++)beam->nodes[i]=this->nodes[indices[i]];
    5498         beam->matice=this->matice;
    5499         beam->matpar=this->matpar;
    5500 
    5501         return beam;
    5502 }
    5503 /*}}}*/
    55045472/*FUNCTION Penta::SurfaceNormal {{{1*/
    55055473void Penta::SurfaceNormal(double* surface_normal, double xyz_list[3][3]){
  • issm/trunk/src/c/objects/Elements/Penta.h

    r4921 r4927  
    173173                void      ReduceVectorStokes(double* Pe_reduced, double* Ke_temp, double* Pe_temp);
    174174                void      SetClone(int* minranks);
    175                 void*     SpawnBeam(int g0, int g1);
    176175                Tria*     SpawnTria(int g0, int g1, int g2);
    177176                void      SurfaceNormal(double* surface_normal, double xyz_list[3][3]);
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r4921 r4927  
    60656065}
    60666066/*}}}1*/
    6067 /*FUNCTION Tria::SpawnBeam {{{1*/
    6068 void* Tria::SpawnBeam(int g0, int g1){
    6069 
    6070         int i;
    6071 
    6072         /*out of grids g0,g1 and g2 from Tria, build a beam element: */
    6073         Beam* beam=NULL;
    6074         int indices[2];
    6075         int zero=0;
    6076         Parameters *beam_parameters = NULL;
    6077         Inputs     *beam_inputs     = NULL;
    6078 
    6079         indices[0]=g0;
    6080         indices[1]=g1;
    6081 
    6082         beam_parameters=this->parameters;
    6083         beam_inputs=(Inputs*)this->inputs->SpawnBeamInputs(indices);
    6084 
    6085         beam=new Beam();
    6086         beam->id=this->id;
    6087         beam->inputs=beam_inputs;
    6088         beam->parameters=beam_parameters;
    6089 
    6090         /*now deal with nodes, matice and matpar: */
    6091         beam->nodes=(Node**)xmalloc(2*sizeof(Node*));
    6092         for(i=0;i<2;i++)beam->nodes[i]=this->nodes[indices[i]];
    6093         beam->matice=this->matice;
    6094         beam->matpar=this->matpar;
    6095 
    6096 
    6097         return beam;
    6098 }
    6099 /*}}}*/
    61006067/*FUNCTION Tria::SurfaceNormal{{{1*/
    61016068
  • issm/trunk/src/c/objects/Elements/Tria.h

    r4921 r4927  
    156156                bool      IsInput(int name);
    157157                void      SetClone(int* minranks);
    158                 void*     SpawnBeam(int g0, int g1);
    159158                void      SurfaceNormal(double* surface_normal, double xyz_list[3][3]);
    160159                /*}}}*/
  • issm/trunk/src/c/objects/Inputs/BoolInput.cpp

    r4922 r4927  
    131131}
    132132/*}}}*/
    133 /*FUNCTION BoolInput::SpawnBeamInput{{{1*/
    134 Input* BoolInput::SpawnBeamInput(int* indices){
    135 
    136         /*output*/
    137         BoolInput* outinput=new BoolInput();
    138 
    139         /*only copy current value*/
    140         outinput->enum_type=this->enum_type;
    141         outinput->value=this->value;
    142 
    143         /*Assign output*/
    144         return outinput;
    145 
    146 }
    147 /*}}}*/
    148133/*FUNCTION BoolInput::SpawnTriaInput{{{1*/
    149134Input* BoolInput::SpawnTriaInput(int* indices){
  • issm/trunk/src/c/objects/Inputs/BoolInput.h

    r4922 r4927  
    3838                /*BoolInput management: {{{1*/
    3939                int   EnumType();
    40                 Input* SpawnBeamInput(int* indices);
    4140                Input* SpawnTriaInput(int* indices);
    4241                Input* PointwiseDivide(Input* inputB){ISSMERROR("not implemented yet");};
  • issm/trunk/src/c/objects/Inputs/DoubleInput.cpp

    r4922 r4927  
    131131}
    132132/*}}}*/
    133 /*FUNCTION DoubleInput::SpawnBeamInput{{{1*/
    134 Input* DoubleInput::SpawnBeamInput(int* indices){
    135 
    136         /*output*/
    137         DoubleInput* outinput=new DoubleInput();
    138 
    139         /*only copy current value*/
    140         outinput->enum_type=this->enum_type;
    141         outinput->value=this->value;
    142 
    143         /*Assign output*/
    144         return outinput;
    145 
    146 }
    147 /*}}}*/
    148133/*FUNCTION DoubleInput::SpawnTriaInput{{{1*/
    149134Input* DoubleInput::SpawnTriaInput(int* indices){
  • issm/trunk/src/c/objects/Inputs/DoubleInput.h

    r4922 r4927  
    3737                /*DoubleInput management: {{{1*/
    3838                int   EnumType();
    39                 Input* SpawnBeamInput(int* indices);
    4039                Input* SpawnTriaInput(int* indices);
    4140                Input* PointwiseDivide(Input* inputB){ISSMERROR("not implemented yet");};
  • issm/trunk/src/c/objects/Inputs/Input.h

    r4922 r4927  
    3737                virtual void ChangeEnum(int newenumtype)=0;
    3838               
    39                 virtual Input* SpawnBeamInput(int* indices)=0;
    4039                virtual Input* SpawnTriaInput(int* indices)=0;
    4140                virtual Input* PointwiseDivide(Input* inputB)=0;
  • issm/trunk/src/c/objects/Inputs/IntInput.cpp

    r4922 r4927  
    131131}
    132132/*}}}*/
    133 /*FUNCTION IntInput::SpawnBeamInput{{{1*/
    134 Input* IntInput::SpawnBeamInput(int* indices){
    135 
    136         /*output*/
    137         IntInput* outinput=new IntInput();
    138 
    139         /*only copy current value*/
    140         outinput->enum_type=this->enum_type;
    141         outinput->value=this->value;
    142 
    143         /*Assign output*/
    144         return outinput;
    145 }
    146 /*}}}*/
    147133/*FUNCTION IntInput::SpawnTriaInput{{{1*/
    148134Input* IntInput::SpawnTriaInput(int* indices){
  • issm/trunk/src/c/objects/Inputs/IntInput.h

    r4922 r4927  
    3838                /*IntInput management: {{{1*/
    3939                int   EnumType();
    40                 Input* SpawnBeamInput(int* indices);
    4140                Input* SpawnTriaInput(int* indices);
    4241                Input* PointwiseDivide(Input* inputB){ISSMERROR("not implemented yet");};
  • issm/trunk/src/c/objects/Inputs/PentaVertexInput.cpp

    r4922 r4927  
    142142}
    143143/*}}}*/
    144 /*FUNCTION PentaVertexInput::SpawnBeamInput{{{1*/
    145 Input* PentaVertexInput::SpawnBeamInput(int* indices){
    146 
    147         /*output*/
    148         BeamVertexInput* outinput=NULL;
    149         double newvalues[2];
    150 
    151         /*Loop over the new indices*/
    152         for(int i=0;i<2;i++){
    153 
    154                 /*Check index value*/
    155                 ISSMASSERT(indices[i]>=0 && indices[i]<6);
    156 
    157                 /*Assign value to new input*/
    158                 newvalues[i]=this->values[indices[i]];
    159         }
    160 
    161         /*Create new Beam input*/
    162         outinput=new BeamVertexInput(this->enum_type,&newvalues[0]);
    163 
    164         /*Assign output*/
    165         return outinput;
    166 
    167 }
    168 /*}}}*/
    169144/*FUNCTION PentaVertexInput::SpawnTriaInput{{{1*/
    170145Input* PentaVertexInput::SpawnTriaInput(int* indices){
  • issm/trunk/src/c/objects/Inputs/PentaVertexInput.h

    r4922 r4927  
    3838                /*PentaVertexInput management: {{{1*/
    3939                int   EnumType();
    40                 Input* SpawnBeamInput(int* indices);
    4140                Input* SpawnTriaInput(int* indices);
    4241                Input* PointwiseDivide(Input* inputB);
  • issm/trunk/src/c/objects/Inputs/TriaVertexInput.cpp

    r4921 r4927  
    142142}
    143143/*}}}*/
    144 /*FUNCTION TriaVertexInput::SpawnBeamInput{{{1*/
    145 Input* TriaVertexInput::SpawnBeamInput(int* indices){
    146 
    147         /*output*/
    148         BeamVertexInput* outinput=NULL;
    149         double newvalues[2];
    150 
    151         /*Loop over the new indices*/
    152         for(int i=0;i<2;i++){
    153 
    154                 /*Check index value*/
    155                 ISSMASSERT(indices[i]>=0 && indices[i]<3);
    156 
    157                 /*Assign value to new input*/
    158                 newvalues[i]=this->values[indices[i]];
    159         }
    160 
    161         /*Create new Beam input*/
    162         outinput=new BeamVertexInput(this->enum_type,&newvalues[0]);
    163 
    164         /*Assign output*/
    165         return outinput;
    166 
    167 }
    168 /*}}}*/
    169144/*FUNCTION TriaVertexInput::SpawnTriaInput{{{1*/
    170145Input* TriaVertexInput::SpawnTriaInput(int* indices){
  • issm/trunk/src/c/objects/Inputs/TriaVertexInput.h

    r4922 r4927  
    3838                /*TriaVertexInput management: {{{1*/
    3939                int   EnumType();
    40                 Input* SpawnBeamInput(int* indices);
    4140                Input* SpawnTriaInput(int* indices);
    4241                Input* PointwiseDivide(Input* inputB){ISSMERROR("not implemented yet");};
  • issm/trunk/src/c/objects/objects.h

    r4910 r4927  
    3333
    3434/*Elements: */
    35 #include "./Elements/Beam.h"
    3635#include "./Elements/BeamRef.h"
    3736#include "./Elements/Element.h"
     
    4847#include "./Inputs/DoubleInput.h"
    4948#include "./Inputs/IntInput.h"
    50 #include "./Inputs/BeamVertexInput.h"
    5149#include "./Inputs/PentaVertexInput.h"
    5250#include "./Inputs/TriaVertexInput.h"
     
    5755#include "./ElementResults/TriaVertexElementResult.h"
    5856#include "./ElementResults/PentaVertexElementResult.h"
    59 #include "./ElementResults/BeamVertexElementResult.h"
    6057
    6158/*ExternalResults: */
Note: See TracChangeset for help on using the changeset viewer.