Changeset 4274
- Timestamp:
- 06/28/10 15:22:03 (15 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r4273 r4274 56 56 57 57 if isnan(iomodel->upperelements[index]){ 58 penta_elements_ids[ 0]=this->id; //upper penta is the same penta58 penta_elements_ids[1]=this->id; //upper penta is the same penta 59 59 } 60 60 else{ 61 penta_elements_ids[ 0]=(int)(iomodel->upperelements[index]);61 penta_elements_ids[1]=(int)(iomodel->upperelements[index]); 62 62 } 63 63 64 64 if isnan(iomodel->lowerelements[index]){ 65 penta_elements_ids[ 1]=this->id; //lower penta is the same penta65 penta_elements_ids[0]=this->id; //lower penta is the same penta 66 66 } 67 67 else{ 68 penta_elements_ids[ 1]=(int)(iomodel->lowerelements[index]);68 penta_elements_ids[0]=(int)(iomodel->lowerelements[index]); 69 69 } 70 70 this->InitHookNodes(nummodels);this->nodes=NULL; … … 4141 4141 Input* original_input=NULL; 4142 4142 4143 /* Make a copy ofthe original input: */4143 /*Extrude the original input: */ 4144 4144 original_input=(Input*)this->inputs->GetInput(enum_type); 4145 original_input->Extrude(); 4145 4146 4146 4147 /*recover parameters: */ -
issm/trunk/src/c/objects/Inputs/BeamVertexInput.h
r4248 r4274 69 69 void AXPY(Input* xinput,double scalar); 70 70 void Constrain(double cm_min, double cm_max); 71 void Extrude(void){ISSMERROR("not supported yet");}; 71 72 void GetVectorFromInputs(Vec vector,int* doflist); 72 73 void GetValuesPtr(double** pvalues,int* pnum_values); -
issm/trunk/src/c/objects/Inputs/BoolInput.h
r4248 r4274 69 69 void AXPY(Input* xinput,double scalar); 70 70 void Constrain(double cm_min, double cm_max); 71 void Extrude(void){ISSMERROR("not supported yet");}; 71 72 void GetVectorFromInputs(Vec vector,int* doflist); 72 73 void GetValuesPtr(double** pvalues,int* pnum_values); -
issm/trunk/src/c/objects/Inputs/DoubleInput.h
r4248 r4274 68 68 void AXPY(Input* xinput,double scalar); 69 69 void Constrain(double cm_min, double cm_max); 70 void Extrude(void){ISSMERROR("not supported yet");}; 70 71 void GetVectorFromInputs(Vec vector,int* doflist); 71 72 void GetValuesPtr(double** pvalues,int* pnum_values); -
issm/trunk/src/c/objects/Inputs/Input.h
r4248 r4274 52 52 virtual void AXPY(Input* xinput,double scalar)=0; 53 53 virtual void Constrain(double cm_min, double cm_max)=0; 54 virtual void Extrude()=0; 54 55 virtual void GetVectorFromInputs(Vec vector,int* doflist)=0; 55 56 virtual void GetValuesPtr(double** pvalues,int* pnum_values)=0; -
issm/trunk/src/c/objects/Inputs/IntInput.h
r4248 r4274 69 69 void AXPY(Input* xinput,double scalar); 70 70 void Constrain(double cm_min, double cm_max); 71 void Extrude(void){ISSMERROR("not supported yet");}; 71 72 void GetVectorFromInputs(Vec vector,int* doflist); 72 73 void GetValuesPtr(double** pvalues,int* pnum_values); -
issm/trunk/src/c/objects/Inputs/PentaVertexInput.cpp
r4248 r4274 944 944 } 945 945 /*}}}*/ 946 /*FUNCTION PentaVertexInput::Extrude(double cm_min, double cm_max){{{1*/ 947 void PentaVertexInput::Extrude(void){ 948 949 int i; 950 951 /*First 3 values copied on 3 last values*/ 952 for(i=0;i<3;i++) this->values[3+i]=this->values[i]; 953 954 } 955 /*}}}*/ 946 956 /*FUNCTION PentaVertexInput::GetVectorFromInputs(Vec vector,int* doflist){{{1*/ 947 957 void PentaVertexInput::GetVectorFromInputs(Vec vector,int* doflist){ -
issm/trunk/src/c/objects/Inputs/PentaVertexInput.h
r4248 r4274 78 78 void AXPY(Input* xinput,double scalar); 79 79 void Constrain(double cm_min, double cm_max); 80 void Extrude(void); 80 81 void GetVectorFromInputs(Vec vector,int* doflist); 81 82 void GetValuesPtr(double** pvalues,int* pnum_values); -
issm/trunk/src/c/objects/Inputs/SingVertexInput.h
r4248 r4274 68 68 void AXPY(Input* xinput,double scalar); 69 69 void Constrain(double cm_min, double cm_max); 70 void Extrude(void){ISSMERROR("not supported yet");}; 70 71 void GetVectorFromInputs(Vec vector,int* doflist); 71 72 void GetValuesPtr(double** pvalues,int* pnum_values); -
issm/trunk/src/c/objects/Inputs/TriaVertexInput.h
r4248 r4274 76 76 void AXPY(Input* xinput,double scalar); 77 77 void Constrain(double cm_min, double cm_max); 78 void Extrude(void){ISSMERROR("not supported yet");}; 78 79 void GetVectorFromInputs(Vec vector,int* doflist); 79 80 void GetValuesPtr(double** pvalues,int* pnum_values);
Note:
See TracChangeset
for help on using the changeset viewer.