Changeset 4007
- Timestamp:
- 06/03/10 08:13:27 (15 years ago)
- Location:
- issm/trunk/src/c/objects/Loads
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Loads/Friction.cpp
r3833 r4007 27 27 } 28 28 /*}}}*/ 29 /*FUNCTION Friction::Friction(char* element_type, Inputs* inputs,Matpar* matpar ){{{1*/30 Friction::Friction(char* element_type_in,Inputs* inputs_in,Matpar* matpar_in ){29 /*FUNCTION Friction::Friction(char* element_type, Inputs* inputs,Matpar* matpar,int analysis_type){{{1*/ 30 Friction::Friction(char* element_type_in,Inputs* inputs_in,Matpar* matpar_in, int in_analysis_type){ 31 31 32 this->analysis_type=in_analysis_type; 32 33 this->inputs=inputs_in; 33 34 this->element_type=(char*)xmalloc((strlen(element_type_in)+1)*sizeof(char)); … … 45 46 void Friction::Echo(void){ 46 47 printf("Friction:\n"); 48 printf(" analysis_type: %s\n",EnumAsString(analysis_type)); 47 49 printf(" element_type: %s\n",this->element_type); 48 50 inputs->Echo(); -
issm/trunk/src/c/objects/Loads/Friction.h
r3833 r4007 15 15 16 16 public: 17 int analysis_type; 17 18 18 19 char* element_type; … … 22 23 /*methods: */ 23 24 Friction(); 24 Friction(char* element_type, Inputs* inputs,Matpar* matpar );25 Friction(char* element_type, Inputs* inputs,Matpar* matpar, int analysis_type); 25 26 ~Friction(); 26 27 -
issm/trunk/src/c/objects/Loads/Icefront.cpp
r4003 r4007 179 179 /*this time, no need to get enum type, the pointer directly points to the beginning of the 180 180 *object data (thanks to DataSet::Demarshall):*/ 181 182 181 memcpy(&id,marshalled_dataset,sizeof(id));marshalled_dataset+=sizeof(id); 183 182 memcpy(&analysis_type,marshalled_dataset,sizeof(analysis_type));marshalled_dataset+=sizeof(analysis_type); -
issm/trunk/src/c/objects/Loads/Icefront.h
r4003 r4007 57 57 void UpdateInputsFromSolution(double* solution, int analysis_type, int sub_analysis_type); 58 58 bool InAnalysis(int analysis_type); 59 60 61 62 59 /*}}}*/ 63 60 /*numerics: {{{1*/ -
issm/trunk/src/c/objects/Loads/Numericalflux.cpp
r4004 r4007 25 25 } 26 26 /*}}}*/ 27 /*FUNCTION Numericalflux::Numericalflux(int numericalflux_id,int* numericalflux_node_ids,...){{{1*/ 28 Numericalflux::Numericalflux(int numericalflux_id,int* numericalflux_node_ids,int numnodes,int* numericalflux_element_ids, int numelements): 29 hnodes(numericalflux_node_ids,numnodes), 30 helements(numericalflux_element_ids,numelements) 31 { 32 33 id=numericalflux_id; 34 this->parameters=NULL; 35 this->inputs=new Inputs(); 36 } 37 /*}}}*/ 38 /*FUNCTION Numericalflux::Numericalflux(int id, Hook* hnodes, Hook* helements, Parameters* parameters, Inputs* numericalflux_inputs) {{{1*/ 39 Numericalflux::Numericalflux(int numericalflux_id,Hook* numericalflux_hnodes, Hook* numericalflux_helements, Parameters* numericalflux_parameters, Inputs* numericalflux_inputs): 40 hnodes(numericalflux_hnodes), 41 helements(numericalflux_helements) 42 { 43 44 /*all the initialization has been done by the initializer, just fill in the id: */ 45 this->id=numericalflux_id; 46 if(numericalflux_inputs){ 47 this->inputs=(Inputs*)numericalflux_inputs->Copy(); 48 } 49 else{ 50 this->inputs=new Inputs(); 51 } 52 /*point parameters: */ 53 this->parameters=numericalflux_parameters; 54 } 55 /*}}}*//*FUNCTION Numericalflux::Numericalflux(int id, int i, IoModel* iomodel) {{{1*/ 56 Numericalflux::Numericalflux(int numericalflux_id,int i, IoModel* iomodel){ 27 /*}}}*//*FUNCTION Numericalflux::Numericalflux(int id, int i, IoModel* iomodel, int analysis_type) {{{1*/ 28 Numericalflux::Numericalflux(int numericalflux_id,int i, IoModel* iomodel, int in_analysis_type){ 57 29 58 30 /* Intermediary */ … … 134 106 /*Ok, we have everything to build the object: */ 135 107 this->id=numericalflux_id; 108 this->analysis_type=in_analysis_type; 136 109 137 110 /*Hooks: */ … … 145 118 //this->parameters: we still can't point to it, it may not even exist. Configure will handle this. 146 119 this->parameters=NULL; 120 } 121 /*}}}*/ 122 /*FUNCTION Numericalflux::copy {{{1*/ 123 Object* Numericalflux::copy() { 124 125 Numericalflux* numericalflux=NULL; 126 127 numericalflux=new Numericalflux(); 128 129 /*copy fields: */ 130 numericalflux->id=this->id; 131 numericalflux->analysis=this->analysis; 132 if(this->inputs){ 133 numericalflux->inputs=(Inputs*)this->inputs->Copy(); 134 } 135 else{ 136 numericalflux->inputs=new Inputs(); 137 } 138 /*point parameters: */ 139 numericalflux->parameters=this->parameters; 140 141 /*now deal with hooks and objects: */ 142 numericalflux->hnodes.copy(&this->hnodes); 143 numericalflux->helement.copy(&this->helement); 144 145 /*recover objects: */ 146 numericalflux->nodes=(Node**)numericalflux->hnodes.deliverp(); 147 numericalflux->element=(Element*)numericalflux->helement.delivers(); 148 149 return numericalflux; 150 147 151 } 148 152 /*}}}*/ … … 168 172 } 169 173 /*}}}*/ 170 /*FUNCTION Numericalflux::copy {{{1*/171 Object* Numericalflux::copy() {172 return new Numericalflux(this->id,&this->hnodes,&this->helements,this->parameters,this->inputs);173 }174 /*}}}*/175 174 /*FUNCTION Numericalflux::DeepEcho {{{1*/ 176 175 void Numericalflux::DeepEcho(void){ … … 178 177 printf("Numericalflux:\n"); 179 178 printf(" id: %i\n",id); 179 printf(" analysis_type: %s\n",EnumAsString(analysis_type)); 180 180 hnodes.DeepEcho(); 181 181 helements.DeepEcho(); … … 198 198 /*this time, no need to get enum type, the pointer directly points to the beginning of the 199 199 *object data (thanks to DataSet::Demarshall):*/ 200 201 200 memcpy(&id,marshalled_dataset,sizeof(id));marshalled_dataset+=sizeof(id); 201 memcpy(&analysis_type,marshalled_dataset,sizeof(analysis_type));marshalled_dataset+=sizeof(analysis_type); 202 202 203 203 /*demarshall hooks: */ … … 247 247 /*marshall Numericalflux data: */ 248 248 memcpy(marshalled_dataset,&id,sizeof(id));marshalled_dataset+=sizeof(id); 249 memcpy(marshalled_dataset,&analysis_type,sizeof(analysis_type));marshalled_dataset+=sizeof(analysis_type); 249 250 250 251 /*Marshall hooks: */ … … 270 271 271 272 return sizeof(id) 273 +sizeof(analysis_type) 272 274 +hnodes.MarshallSize() 273 275 +helements.MarshallSize() -
issm/trunk/src/c/objects/Loads/Numericalflux.h
r4004 r4007 20 20 public: 21 21 int id; 22 int analysis_type; 22 23 23 24 Hook helements; … … 29 30 /*Constructors {{{1*/ 30 31 Numericalflux(); 31 Numericalflux(int numericalflux_id,int* numericalflux_node_ids,int numnodes, int* numericalflux_element_ids, int numelements); 32 Numericalflux(int numericalflux_id,Hook* numericalflux_hnodes, Hook* numericalflux_helements, Parameters* parameters, Inputs* numericalflux_inputs); 33 Numericalflux(int numericalflux_id,int i, IoModel* iomodel); 32 Numericalflux(int numericalflux_id,int i, IoModel* iomodel,int analysis_type); 34 33 ~Numericalflux(); 34 Object* copy(); 35 35 /*}}}*/ 36 36 /*Object management: {{{1*/ 37 Object* copy();38 37 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* vertices,DataSet* materials,Parameters* parameters); 39 38 void DeepEcho(); -
issm/trunk/src/c/objects/Loads/Pengrid.cpp
r4004 r4007 30 30 } 31 31 /*}}}1*/ 32 /*FUNCTION Pengrid::Pengrid(int id, int node_ids int matpar_id){{{1*/ 33 Pengrid::Pengrid(int pengrid_id,int pengrid_node_id, int pengrid_element_id,int pengrid_matpar_id): 34 hnode(&pengrid_node_id,1), 35 helement(&pengrid_element_id,1), 36 hmatpar(&pengrid_matpar_id,1) 37 { 38 39 /*all the initialization has been done by the initializer, just fill in the id: */ 40 this->id=pengrid_id; 41 this->parameters=NULL; 42 this->inputs=new Inputs(); 43 44 /*not active, not zigzagging: */ 45 active=0; 46 zigzag_counter=0; 47 48 } 49 /*}}}*/ 50 /*FUNCTION Pengrid::Pengrid(int id, Hook* hnodes, Hook* hmatice, Hook* hmatpar, Parameters* parameters, Inputs* pengrid_inputs) {{{1*/ 51 Pengrid::Pengrid(int pengrid_id,Hook* pengrid_hnode, Hook* pengrid_helement,Hook* pengrid_hmatpar, Parameters* pengrid_parameters, Inputs* pengrid_inputs): 52 hnode(pengrid_hnode), 53 helement(pengrid_helement), 54 hmatpar(pengrid_hmatpar) 55 { 56 57 /*all the initialization has been done by the initializer, just fill in the id: */ 58 this->id=pengrid_id; 59 if(pengrid_inputs){ 60 this->inputs=(Inputs*)pengrid_inputs->Copy(); 61 } 62 else{ 63 this->inputs=new Inputs(); 64 } 65 /*point parameters: */ 66 this->parameters=pengrid_parameters; 67 68 /*not active, not zigzagging: */ 69 active=0; 70 zigzag_counter=0; 71 72 } 73 /*}}}*/ 74 /*FUNCTION Pengrid::Pengrid(int index, int id, IoModel* iomodel){{{1*/ 75 Pengrid::Pengrid(int id, int index, IoModel* iomodel){ //i is the element index 32 /*FUNCTION Pengrid::Pengrid(int index, int id, IoModel* iomodel,int analysis_type){{{1*/ 33 Pengrid::Pengrid(int id, int index, IoModel* iomodel, int in_analysis_type){ //i is the element index 76 34 77 35 int i,j; … … 86 44 /*id: */ 87 45 this->id=id; 46 this->analysis_type=in_analysis_type; 88 47 89 48 /*hooks: */ … … 105 64 this->active=0; 106 65 this->zigzag_counter=0; 66 67 } 68 /*}}}*/ 69 /*FUNCTION Icefront::copy {{{1*/ 70 Object* Pengrid::copy() { 71 72 Pengrid* pengrid=NULL; 73 74 pengrid=new Pengrid(); 75 76 /*copy fields: */ 77 pengrid->id=this->id; 78 pengrid->analysis=this->analysis; 79 if(this->inputs){ 80 pengrid->inputs=(Inputs*)this->inputs->Copy(); 81 } 82 else{ 83 pengrid->inputs=new Inputs(); 84 } 85 /*point parameters: */ 86 pengrid->parameters=this->parameters; 87 88 /*now deal with hooks and objects: */ 89 pengrid->hnode.copy(&this->hnodes); 90 pengrid->helement.copy(&this->helement); 91 pengrid->hmatpar.copy(&this->hmatpar); 92 93 /*recover objects: */ 94 pengrid->node=(Node**)pengrid->hnode.deliverp(); 95 pengrid->element=(Element*)pengrid->helement.delivers(); 96 pengrid->matpar=(Matpar*)pengrid->hmatpar.delivers(); 97 98 //let's not forget internals 99 pengrid->active=this->active=0; 100 pengrid->zigzag_counter=this->zigzag_counter=0; 101 102 return pengrid; 107 103 108 104 } … … 128 124 } 129 125 /*}}}1*/ 130 /*FUNCTION Pengrid::copy {{{1*/131 Object* Pengrid::copy() {132 return new Pengrid(this->id,&this->hnode,&this->helement,&this->hmatpar,this->parameters,this->inputs);133 }134 /*}}}1*/135 126 /*FUNCTION Pengrid::DeepEcho{{{1*/ 136 127 void Pengrid::DeepEcho(void){ … … 138 129 printf("Pengrid:\n"); 139 130 printf(" id: %i\n",id); 131 printf(" analysis_type: %s\n",EnumAsString(analysis_type)); 140 132 hnode.DeepEcho(); 141 133 helement.DeepEcho(); … … 162 154 163 155 memcpy(&id,marshalled_dataset,sizeof(id));marshalled_dataset+=sizeof(id); 156 memcpy(&analysis_type,marshalled_dataset,sizeof(analysis_type));marshalled_dataset+=sizeof(analysis_type); 164 157 memcpy(&active,marshalled_dataset,sizeof(active));marshalled_dataset+=sizeof(active); 165 158 memcpy(&zigzag_counter,marshalled_dataset,sizeof(zigzag_counter));marshalled_dataset+=sizeof(zigzag_counter); … … 214 207 /*marshall Tria data: */ 215 208 memcpy(marshalled_dataset,&id,sizeof(id));marshalled_dataset+=sizeof(id); 209 memcpy(marshalled_dataset,&analysis_type,sizeof(analysis_type));marshalled_dataset+=sizeof(analysis_type); 216 210 memcpy(marshalled_dataset,&active,sizeof(active));marshalled_dataset+=sizeof(active); 217 211 memcpy(marshalled_dataset,&zigzag_counter,sizeof(zigzag_counter));marshalled_dataset+=sizeof(zigzag_counter); … … 240 234 241 235 return sizeof(id) 236 +sizeof(analysis_type) 242 237 +sizeof(active) 243 238 +sizeof(zigzag_counter) -
issm/trunk/src/c/objects/Loads/Pengrid.h
r4004 r4007 19 19 20 20 int id; 21 int analysis_type; 21 22 22 23 Hook hnode; //hook to 1 node … … 35 36 /*FUNCTION constructors, destructors {{{1*/ 36 37 Pengrid(); 37 Pengrid(int pengrid_id,int pengrid_node_id, int pengrid_element_id,int pengrid_matpar_id); 38 Pengrid(int pengrid_id,Hook* pengrid_hnode, Hook* pengrid_helement,Hook* pengrid_hmatpar, Parameters* pengrid_parameters, Inputs* pengrid_inputs); 39 Pengrid(int index, int id, IoModel* iomodel); 38 Pengrid(int index, int id, IoModel* iomodel,int analysis_type); 40 39 ~Pengrid(); 40 Object* copy(); 41 41 /*}}}*/ 42 42 /*FUNCTION object management {{{1*/ 43 43 void Configure(DataSet* elementsin,DataSet* loadsin,DataSet* nodesin,DataSet* verticesin,DataSet* materialsin,Parameters* parametersin); 44 Object* copy();45 44 void DeepEcho(); 46 45 void Demarshall(char** pmarshalled_dataset); -
issm/trunk/src/c/objects/Loads/Penpair.cpp
r4004 r4007 24 24 /*}}}1*/ 25 25 /*FUNCTION Penpair::creation {{{1*/ 26 Penpair::Penpair(int penpair_id, int* penpair_node_ids ):26 Penpair::Penpair(int penpair_id, int* penpair_node_ids,int in_analysis_type): 27 27 hnodes(penpair_node_ids,2) 28 28 { … … 30 30 /*all the initialization has been done by the initializer, just fill in the id: */ 31 31 this->id=penpair_id; 32 this->analysis_type=in_analysis_type; 32 33 33 34 return; … … 35 36 /*}}}1*/ 36 37 /*FUNCTION Penpair::creation {{{1*/ 37 Penpair::Penpair(int penpair_id, Hook* penpair_hnodes ):38 Penpair::Penpair(int penpair_id, Hook* penpair_hnodes,int in_analysis_type): 38 39 hnodes(penpair_hnodes) 39 40 { … … 41 42 /*all the initialization has been done by the initializer, just fill in the id: */ 42 43 this->id=penpair_id; 43 44 return; 45 } 46 /*}}}1*/ 44 this->analysis_type=in_analysis_type; 45 46 return; 47 } 48 /*}}}1*/ 49 /*FUNCTION Penpair::copy {{{1*/ 50 Object* Penpair::copy() { 51 52 Penpair* penpair=NULL; 53 54 penpair=new Penpair(); 55 56 /*copy fields: */ 57 penpair->id=this->id; 58 penpair->analysis=this->analysis; 59 60 /*now deal with hooks and objects: */ 61 penpair->hnodes.copy(&this->hnodes); 62 63 /*recover objects: */ 64 penpair->nodes=(Node**)penpair->hnodes.deliverp(); 65 66 return penpair; 67 68 } 69 /*}}}*/ 47 70 /*FUNCTION Penpair::destructor {{{1*/ 48 71 Penpair::~Penpair(){ … … 61 84 } 62 85 /*}}}1*/ 63 /*FUNCTION Penpair::copy {{{1*/64 Object* Penpair::copy() {65 return new Penpair(this->id,&this->hnodes);66 }67 /*}}}1*/68 86 /*FUNCTION Penpair::DeepEcho {{{1*/ 69 87 void Penpair::DeepEcho(void){ … … 71 89 printf("Penpair:\n"); 72 90 printf(" id: %i\n",id); 91 printf(" analysis_type: %s\n",EnumAsString(analysis_type)); 73 92 hnodes.DeepEcho(); 74 93 75 94 return; 76 95 } 96 /*}}}1*/ 97 /*FUNCTION Penpair::Demarshall {{{1*/ 98 void Penpair::Demarshall(char** pmarshalled_dataset){ 99 100 int i; 101 char* marshalled_dataset=NULL; 102 103 /*recover marshalled_dataset: */ 104 marshalled_dataset=*pmarshalled_dataset; 105 106 /*this time, no need to get enum type, the pointer directly points to the beginning of the 107 *object data (thanks to DataSet::Demarshall):*/ 108 memcpy(&id,marshalled_dataset,sizeof(id));marshalled_dataset+=sizeof(id); 109 memcpy(&analysis_type,marshalled_dataset,sizeof(analysis_type));marshalled_dataset+=sizeof(analysis_type); 110 111 /*demarshall hooks: */ 112 hnodes.Demarshall(&marshalled_dataset); 113 114 /*return: */ 115 *pmarshalled_dataset=marshalled_dataset; 116 return; 117 } 77 118 /*}}}1*/ 78 119 /*FUNCTION Penpair::Echo {{{1*/ … … 83 124 printf("Penpair:\n"); 84 125 printf(" id: %i\n",id); 126 printf(" analysis_type: %s\n",EnumAsString(analysis_type)); 85 127 hnodes.Echo(); 86 128 87 129 return; 88 130 } 131 /*}}}1*/ 132 /*FUNCTION Penpair::Enum {{{1*/ 133 int Penpair::Enum(void){ 134 135 return PenpairEnum; 136 } 137 /*}}}1*/ 138 /*FUNCTION Penpair::Id {{{1*/ 139 int Penpair::Id(void){ return id; } 89 140 /*}}}1*/ 90 141 /*FUNCTION Penpair::Marshall {{{1*/ … … 105 156 /*marshall Penpair data: */ 106 157 memcpy(marshalled_dataset,&id,sizeof(id));marshalled_dataset+=sizeof(id); 158 memcpy(marshalled_dataset,&analysis_type,sizeof(analysis_type));marshalled_dataset+=sizeof(analysis_type); 107 159 108 160 /*Marshall hooks*/ … … 117 169 118 170 return sizeof(id)+ 171 +sizeof(analysis_type) 119 172 +hnodes.MarshallSize() 120 173 +sizeof(int); //sizeof(int) for enum type 121 174 } 122 /*}}}1*/123 /*FUNCTION Penpair::Demarshall {{{1*/124 void Penpair::Demarshall(char** pmarshalled_dataset){125 126 int i;127 char* marshalled_dataset=NULL;128 129 /*recover marshalled_dataset: */130 marshalled_dataset=*pmarshalled_dataset;131 132 /*this time, no need to get enum type, the pointer directly points to the beginning of the133 *object data (thanks to DataSet::Demarshall):*/134 135 memcpy(&id,marshalled_dataset,sizeof(id));marshalled_dataset+=sizeof(id);136 137 /*demarshall hooks: */138 hnodes.Demarshall(&marshalled_dataset);139 140 /*return: */141 *pmarshalled_dataset=marshalled_dataset;142 return;143 }144 /*}}}1*/145 146 /*Object functions*/147 /*FUNCTION Penpair::CreateKMatrix {{{1*/148 149 void Penpair::CreateKMatrix(Mat Kgg,int analysis_type,int sub_analysis_type){150 151 /*No loads applied, do nothing: */152 return;153 154 }155 /*}}}1*/156 /*FUNCTION Penpair::CreatePVector {{{1*/157 void Penpair::CreatePVector(Vec pg, int analysis_type,int sub_analysis_type){158 159 /*No loads applied, do nothing: */160 return;161 162 }163 /*}}}1*/164 /*FUNCTION Penpair::Enum {{{1*/165 int Penpair::Enum(void){166 167 return PenpairEnum;168 }169 /*}}}1*/170 /*FUNCTION Penpair::Id {{{1*/171 int Penpair::Id(void){ return id; }172 175 /*}}}1*/ 173 176 /*FUNCTION Penpair::MyRank {{{1*/ … … 177 180 } 178 181 /*}}}1*/ 182 183 /*Object functions*/ 184 /*FUNCTION Penpair::CreateKMatrix {{{1*/ 185 186 void Penpair::CreateKMatrix(Mat Kgg,int analysis_type,int sub_analysis_type){ 187 188 /*No loads applied, do nothing: */ 189 return; 190 191 } 192 /*}}}1*/ 193 /*FUNCTION Penpair::CreatePVector {{{1*/ 194 void Penpair::CreatePVector(Vec pg, int analysis_type,int sub_analysis_type){ 195 196 /*No loads applied, do nothing: */ 197 return; 198 199 } 200 /*}}}1*/ 179 201 /*FUNCTION Penpair::PenaltyCreateKMatrix {{{1*/ 180 202 void Penpair::PenaltyCreateKMatrix(Mat Kgg,double kmax,int analysis_type,int sub_analysis_type){ -
issm/trunk/src/c/objects/Loads/Penpair.h
r4004 r4007 17 17 18 18 private: 19 20 19 int id; 20 int analysis_type; 21 21 22 22 Hook hnodes; //hook to 2 nodes … … 24 24 public: 25 25 26 /*constructors: {{{1*/ 26 27 Penpair(); 27 Penpair(int penpair_id,int* penpair_node_ids );28 Penpair(int penpair_id,Hook* penpair_hnodes );28 Penpair(int penpair_id,int* penpair_node_ids,int analysis_type); 29 Penpair(int penpair_id,Hook* penpair_hnodes,int analysis_type); 29 30 ~Penpair(); 30 31 Object* copy(); 32 /*}}}*/ 33 /*object management: {{{1*/ 34 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* vertices,DataSet* materials,Parameters* parameters); 35 void DeepEcho(); 36 void Demarshall(char** pmarshalled_dataset); 31 37 void Echo(); 32 void DeepEcho(); 38 int Enum(); 39 int Id(); 33 40 void Marshall(char** pmarshalled_dataset); 34 41 int MarshallSize(); 35 void Demarshall(char** pmarshalled_dataset);36 int Enum();37 int Id();38 42 int MyRank(); 39 void Configure(DataSet* elements,DataSet* loads,DataSet* nodes,DataSet* vertices,DataSet* materials,Parameters* parameters); 43 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 44 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 45 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 46 void UpdateInputsFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 47 void UpdateInputsFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} 48 void UpdateInputsFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 49 void UpdateInputsFromSolution(double* solution, int analysis_type, int sub_analysis_type){ISSMERROR("Not implemented yet!");} 50 bool InAnalysis(int analysis_type); 51 /*}}}*/ 52 /*numerics: {{{1*/ 40 53 void CreateKMatrix(Mat Kgg,int analysis_type,int sub_analysis_type); 41 54 void CreatePVector(Vec pg, int analysis_type,int sub_analysis_type); 42 55 void PenaltyCreateKMatrix(Mat Kgg,double kmax,int analysis_type,int sub_analysis_type); 43 56 void PenaltyCreatePVector(Vec pg,double kmax,int analysis_type,int sub_analysis_type); 44 Object* copy(); 45 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 46 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 47 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 48 void UpdateInputsFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 49 void UpdateInputsFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} 50 void UpdateInputsFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 51 void UpdateInputsFromSolution(double* solution, int analysis_type, int sub_analysis_type){ISSMERROR("Not implemented yet!");} 52 bool InAnalysis(int analysis_type); 53 54 57 /*}}}*/ 55 58 }; 56 59
Note:
See TracChangeset
for help on using the changeset viewer.