Changeset 12358
- Timestamp:
- 06/04/12 11:22:06 (13 years ago)
- Location:
- issm/trunk/src/c/objects/Inputs
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Inputs/BoolInput.h
r12330 r12358 49 49 void GetInputValue(double* pvalue); 50 50 void GetInputValue(double* pvalue,GaussTria* gauss); 51 void GetInputValue(double* pvalue,GaussPenta* gauss); 51 52 void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");}; 52 void GetInputValue(double* pvalue,GaussPenta* gauss );53 void GetInputValue(double* pvalue,GaussPenta* gauss,double time){_error_("not implemented yet");}; 53 54 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");}; 54 55 void GetInputValue(double* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");}; -
issm/trunk/src/c/objects/Inputs/ControlInput.h
r12330 r12358 54 54 void GetInputValue(double* pvalue); 55 55 void GetInputValue(double* pvalue,GaussTria* gauss); 56 void GetInputValue(double* pvalue,GaussPenta* gauss); 56 57 void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");}; 57 void GetInputValue(double* pvalue,GaussPenta* gauss );58 void GetInputValue(double* pvalue,GaussPenta* gauss,double time){_error_("not implemented yet");}; 58 59 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");}; 59 60 void GetInputValue(double* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");}; -
issm/trunk/src/c/objects/Inputs/DatasetInput.h
r12330 r12358 49 49 void GetInputValue(double* pvalue){_error_("not implemented yet");}; 50 50 void GetInputValue(double* pvalue,GaussTria* gauss){_error_("not implemented yet");}; 51 void GetInputValue(double* pvalue,GaussPenta* gauss){_error_("not implemented yet");}; 51 52 void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");}; 52 void GetInputValue(double* pvalue,GaussPenta* gauss ){_error_("not implemented yet");};53 void GetInputValue(double* pvalue,GaussPenta* gauss,double time){_error_("not implemented yet");}; 53 54 void GetInputValue(double* pvalue,GaussTria* gauss ,int index); 54 55 void GetInputValue(double* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");}; -
issm/trunk/src/c/objects/Inputs/DoubleInput.h
r12330 r12358 48 48 void GetInputValue(double* pvalue); 49 49 void GetInputValue(double* pvalue,GaussTria* gauss); 50 void GetInputValue(double* pvalue,GaussPenta* gauss); 50 51 void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");}; 51 void GetInputValue(double* pvalue,GaussPenta* gauss );52 void GetInputValue(double* pvalue,GaussPenta* gauss,double time){_error_("not implemented yet");}; 52 53 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");}; 53 54 void GetInputValue(double* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");}; -
issm/trunk/src/c/objects/Inputs/Input.h
r12299 r12358 21 21 22 22 virtual ~Input(){}; 23 /*Virtual functions:{{{1*/24 23 virtual int InstanceEnum()=0; 25 24 virtual void GetInputValue(bool* pvalue)=0; … … 27 26 virtual void GetInputValue(double* pvalue)=0; 28 27 virtual void GetInputValue(double* pvalue,GaussTria* gauss)=0; 28 virtual void GetInputValue(double* pvalue,GaussPenta* gauss)=0; 29 29 virtual void GetInputValue(double* pvalue,GaussTria* gauss,double time)=0; 30 virtual void GetInputValue(double* pvalue,GaussPenta* gauss )=0;30 virtual void GetInputValue(double* pvalue,GaussPenta* gauss,double time)=0; 31 31 virtual void GetInputValue(double* pvalue,GaussTria* gauss ,int index)=0; 32 32 virtual void GetInputValue(double* pvalue,GaussPenta* gauss,int index)=0; … … 65 65 virtual Input* PointwiseMin(Input* inputmin)=0; 66 66 virtual ElementResult* SpawnResult(int step, double time)=0; 67 68 /*}}}*/69 70 67 }; 71 68 #endif -
issm/trunk/src/c/objects/Inputs/IntInput.h
r12330 r12358 49 49 void GetInputValue(double* pvalue); 50 50 void GetInputValue(double* pvalue,GaussTria* gauss); 51 void GetInputValue(double* pvalue,GaussPenta* gauss); 51 52 void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");}; 52 void GetInputValue(double* pvalue,GaussPenta* gauss );53 void GetInputValue(double* pvalue,GaussPenta* gauss,double time){_error_("not implemented yet");}; 53 54 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");}; 54 55 void GetInputValue(double* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");}; -
issm/trunk/src/c/objects/Inputs/PentaP1Input.h
r12330 r12358 49 49 void GetInputValue(double* pvalue){_error_("not implemented yet");}; 50 50 void GetInputValue(double* pvalue,GaussTria* gauss){_error_("not implemented yet");}; 51 void GetInputValue(double* pvalue,GaussPenta* gauss); 51 52 void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");}; 52 void GetInputValue(double* pvalue,GaussPenta* gauss );53 void GetInputValue(double* pvalue,GaussPenta* gauss,double time){_error_("not implemented yet");}; 53 54 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");}; 54 55 void GetInputValue(double* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");}; -
issm/trunk/src/c/objects/Inputs/TransientInput.cpp
r12330 r12358 172 172 } 173 173 /*}}}*/ 174 /*FUNCTION TransientInput::GetInputValue(double* pvalue,GaussPenta* gauss){{{*/ 175 void TransientInput::GetInputValue(double* pvalue,GaussPenta* gauss){ 176 double time; 177 178 /*First, recover current time from parameters: */ 179 this->parameters->FindParam(&time,TimeEnum); 180 181 /*Retrieve interpolated values for this time step: */ 182 Input* input=GetTimeInput(time); 183 184 /*Call input function*/ 185 input->GetInputValue(pvalue,gauss); 186 187 delete input; 188 } 189 /*}}}*/ 174 190 /*FUNCTION TransientInput::GetInputValue(double* pvalue,GaussTria* gauss,double time){{{*/ 175 191 void TransientInput::GetInputValue(double* pvalue,GaussTria* gauss,double time){ 192 193 /*Retrieve interpolated values for this time step: */ 194 Input* input=GetTimeInput(time); 195 196 /*Call input function*/ 197 input->GetInputValue(pvalue,gauss); 198 199 delete input; 200 } 201 /*}}}*/ 202 /*FUNCTION TransientInput::GetInputValue(double* pvalue,GaussPenta* gauss,double time){{{*/ 203 void TransientInput::GetInputValue(double* pvalue,GaussPenta* gauss,double time){ 176 204 177 205 /*Retrieve interpolated values for this time step: */ -
issm/trunk/src/c/objects/Inputs/TransientInput.h
r12330 r12358 51 51 void GetInputValue(double* pvalue){_error_("not implemented yet");}; 52 52 void GetInputValue(double* pvalue,GaussTria* gauss); 53 void GetInputValue(double* pvalue,GaussPenta* gauss){_error_("not implemented yet");}; 53 54 void GetInputValue(double* pvalue,GaussTria* gauss,double time); 54 void GetInputValue(double* pvalue,GaussPenta* gauss ){_error_("not implemented yet");};55 void GetInputValue(double* pvalue,GaussPenta* gauss,double time); 55 56 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");}; 56 57 void GetInputValue(double* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");}; -
issm/trunk/src/c/objects/Inputs/TriaP1Input.h
r12330 r12358 49 49 void GetInputValue(double* pvalue){_error_("not implemented yet");} 50 50 void GetInputValue(double* pvalue,GaussTria* gauss); 51 void GetInputValue(double* pvalue,GaussPenta* gauss){_error_("not implemented yet");}; 51 52 void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");}; 52 void GetInputValue(double* pvalue,GaussPenta* gauss ){_error_("not implemented yet");};53 void GetInputValue(double* pvalue,GaussPenta* gauss,double time){_error_("not implemented yet");}; 53 54 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");}; 54 55 void GetInputValue(double* pvalue,GaussPenta* gauss,int index){_error_("not implemented yet");};
Note:
See TracChangeset
for help on using the changeset viewer.