Changeset 4050 for issm/trunk/src/c/objects/Elements/Sing.cpp
- Timestamp:
- 06/17/10 11:06:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Sing.cpp
r4048 r4050 708 708 } 709 709 /*}}}*/ 710 /*FUNCTION Sing::AXPY (int YEnum, double scalar, int XEnum);{{{1*/711 void Sing::AXPY (int YEnum, double scalar, int XEnum){710 /*FUNCTION Sing::AXPYInput(int YEnum, double scalar, int XEnum);{{{1*/ 711 void Sing::AXPYInput(int YEnum, double scalar, int XEnum){ 712 712 713 713 Input* xinput=NULL; … … 726 726 } 727 727 /*}}}*/ 728 /*FUNCTION Sing::ControlConstrain (int control_type, double cm_min, double cm_max){{{1*/729 void Sing::ControlConstrain (int control_type, double cm_min, double cm_max){728 /*FUNCTION Sing::ControlConstrainInput(int control_type, double cm_min, double cm_max){{{1*/ 729 void Sing::ControlConstrainInput(int control_type, double cm_min, double cm_max){ 730 730 731 731 Input* input=NULL; … … 745 745 void Sing::GetVectorFromInputs(Vec vector,int NameEnum){ 746 746 747 int i; 747 748 const int numvertices=1; 748 749 int doflist1[numvertices]; … … 751 752 for(i=0;i<this->inputs->Size();i++){ 752 753 Input* input=(Input*)this->inputs->GetObjectByOffset(i); 753 if(input->EnumType ==NameEnum){754 if(input->EnumType()==NameEnum){ 754 755 /*We found the enum. Use its values to fill into the vector, using the vertices ids: */ 755 756 this->GetDofList1(&doflist1[0]);
Note:
See TracChangeset
for help on using the changeset viewer.