Changeset 1935
- Timestamp:
- 08/26/09 13:44:04 (16 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/FemModel.cpp
r1881 r1935 11 11 #include "./FemModel.h" 12 12 #include "stdio.h" 13 #include "../shared/shared.h" 13 14 14 15 FemModel::FemModel(){ … … 60 61 delete nodes; 61 62 delete loads; 63 delete constraints; 62 64 delete materials; 63 65 delete parameters; … … 131 133 132 134 } 135 #undef __FUNCT__ 136 #define __FUNCT__ "FemModel::GetId" 137 int FemModel::GetId(void){ 138 throw ErrorException(__FUNCT__,exprintf("%s%s",__FUNCT__," error message: not implemented yet!")); 139 } 140 141 #undef __FUNCT__ 142 #define __FUNCT__ "FemModel::MyRank" 143 int FemModel::MyRank(void){ 144 throw ErrorException(__FUNCT__,exprintf("%s%s",__FUNCT__," error message: not implemented yet!")); 145 } 146 147 #undef __FUNCT__ 148 #define __FUNCT__ "FemModel::Marshall" 149 void FemModel::Marshall(char** pmarshalled_dataset){ 150 throw ErrorException(__FUNCT__,exprintf("%s%s",__FUNCT__," error message: not implemented yet!")); 151 } 152 153 #undef __FUNCT__ 154 #define __FUNCT__ "FemModel::MarshallSize" 155 int FemModel::MarshallSize(void){ 156 throw ErrorException(__FUNCT__,exprintf("%s%s",__FUNCT__," error message: not implemented yet!")); 157 } 158 #undef __FUNCT__ 159 #define __FUNCT__ "FemModel::GetName" 160 char* FemModel::GetName(void){ 161 throw ErrorException(__FUNCT__,exprintf("%s%s",__FUNCT__," error message: not implemented yet!")); 162 } 163 #undef __FUNCT__ 164 #define __FUNCT__ "FemModel::Demarshall" 165 void FemModel::Demarshall(char** pmarshalled_dataset){ 166 throw ErrorException(__FUNCT__,exprintf("%s%s",__FUNCT__," error message: not implemented yet!")); 167 } 168 #undef __FUNCT__ 169 #define __FUNCT__ "FemModel::Enum" 170 int FemModel::Enum(void){ 171 throw ErrorException(__FUNCT__,exprintf("%s%s",__FUNCT__," error message: not implemented yet!")); 172 } 173 #undef __FUNCT__ 174 #define __FUNCT__ "FemModel::copy" 175 Object* FemModel::copy(void){ 176 throw ErrorException(__FUNCT__,exprintf("%s%s",__FUNCT__," error message: not implemented yet!")); 177 } 133 178 134 179 #undef __FUNCT__ 135 180 #define __FUNCT__ "FemModel::FindParam" 136 137 181 int FemModel::FindParam(void* pparameter,char* parametername){ 138 182 … … 140 184 141 185 } 142 143 186 144 187 /*access to internal data: */ -
issm/trunk/src/c/objects/FemModel.h
r1883 r1935 13 13 struct OptArgs; 14 14 15 class FemModel {15 class FemModel: public Object{ 16 16 17 17 /*no private members, as we need access to these datasets quite often!:*/ … … 39 39 FemModel(DataSet* elements,DataSet* nodes,DataSet* constraints,DataSet* loads,DataSet* materials,DataSet* parameters, 40 40 Vec partition,Vec tpartition,Vec yg,Mat Rmg,Mat Gmn,NodeSets* nodesets,Vec ys,Vec ys0); 41 41 42 /*virtual resolves: */ 42 43 void Echo(); 43 44 void DeepEcho(); 45 int GetId(); 46 int MyRank(); 47 void Marshall(char** pmarshalled_dataset); 48 int MarshallSize(); 49 char* GetName(); 50 void Demarshall(char** pmarshalled_dataset); 51 int Enum(); 52 Object* copy(); 44 53 45 54 int FindParam(void* pparameter,char* parametername); … … 59 68 Mat get_Gmn(void); 60 69 70 61 71 62 72
Note:
See TracChangeset
for help on using the changeset viewer.