Changeset 18301 for issm/trunk/src/c/classes/Inputs/Inputs.cpp
- Timestamp:
- 07/30/14 14:22:43 (11 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/c/classes/Inputs/Inputs.cpp
r17806 r18301 19 19 20 20 /*Object constructors and destructor*/ 21 /*FUNCTION Inputs::Inputs(){{{*/ 22 Inputs::Inputs(){ 21 Inputs::Inputs(){/*{{{*/ 23 22 return; 24 23 } 25 24 /*}}}*/ 26 /*FUNCTION Inputs::~Inputs(){{{*/ 27 Inputs::~Inputs(){ 25 Inputs::~Inputs(){/*{{{*/ 28 26 return; 29 27 } … … 31 29 32 30 /*Object management*/ 33 /*FUNCTION Inputs::GetInputValue(bool* pvalue,int enum-type){{{*/ 34 void Inputs::GetInputValue(bool* pvalue,int enum_type){ 31 void Inputs::GetInputValue(bool* pvalue,int enum_type){/*{{{*/ 35 32 36 33 vector<Object*>::iterator object; … … 59 56 } 60 57 /*}}}*/ 61 /*FUNCTION Inputs::GetInputValue(int* pvalue,int enum-type){{{*/ 62 void Inputs::GetInputValue(int* pvalue,int enum_type){ 58 void Inputs::GetInputValue(int* pvalue,int enum_type){/*{{{*/ 63 59 64 60 vector<Object*>::iterator object; … … 87 83 } 88 84 /*}}}*/ 89 /*FUNCTION Inputs::GetInputValue(IssmDouble* pvalue,int enum-type){{{*/ 90 void Inputs::GetInputValue(IssmDouble* pvalue,int enum_type){ 85 void Inputs::GetInputValue(IssmDouble* pvalue,int enum_type){/*{{{*/ 91 86 92 87 vector<Object*>::iterator object; … … 115 110 } 116 111 /*}}}*/ 117 /*FUNCTION Inputs::GetInputAverage{{{*/ 118 void Inputs::GetInputAverage(IssmDouble* pvalue,int enum_type){ 112 void Inputs::GetInputAverage(IssmDouble* pvalue,int enum_type){/*{{{*/ 119 113 120 114 vector<Object*>::iterator object; … … 143 137 } 144 138 /*}}}*/ 145 /*FUNCTION Inputs::AddInput{{{*/ 146 int Inputs::AddInput(Input* in_input){ 139 int Inputs::AddInput(Input* in_input){/*{{{*/ 147 140 148 141 /*First, go through dataset of inputs and check whether any input … … 169 162 } 170 163 /*}}}*/ 171 /*FUNCTION Inputs::ChangeEnum{{{*/ 172 void Inputs::ChangeEnum(int oldenumtype,int newenumtype){ 164 void Inputs::ChangeEnum(int oldenumtype,int newenumtype){/*{{{*/ 173 165 174 166 /*Go through dataset of inputs and look for input with … … 199 191 } 200 192 /*}}}*/ 201 /*FUNCTION Inputs::ConstrainMin{{{*/ 202 void Inputs::ConstrainMin(int constrain_enum, IssmDouble minimum){ 193 void Inputs::ConstrainMin(int constrain_enum, IssmDouble minimum){/*{{{*/ 203 194 204 195 /*Find x and y inputs: */ … … 212 203 } 213 204 /*}}}*/ 214 /*FUNCTION Inputs::InfinityNorm{{{*/ 215 IssmDouble Inputs::InfinityNorm(int enumtype){ 205 IssmDouble Inputs::InfinityNorm(int enumtype){/*{{{*/ 216 206 217 207 /*Output*/ … … 233 223 } 234 224 /*}}}*/ 235 /*FUNCTION Inputs::Max{{{*/ 236 IssmDouble Inputs::Max(int enumtype){ 225 IssmDouble Inputs::Max(int enumtype){/*{{{*/ 237 226 238 227 /*Output*/ … … 254 243 } 255 244 /*}}}*/ 256 /*FUNCTION Inputs::MaxAbs{{{*/ 257 IssmDouble Inputs::MaxAbs(int enumtype){ 245 IssmDouble Inputs::MaxAbs(int enumtype){/*{{{*/ 258 246 259 247 /*Output*/ … … 275 263 } 276 264 /*}}}*/ 277 /*FUNCTION Inputs::Min{{{*/ 278 IssmDouble Inputs::Min(int enumtype){ 265 IssmDouble Inputs::Min(int enumtype){/*{{{*/ 279 266 280 267 /*Output*/ … … 296 283 } 297 284 /*}}}*/ 298 /*FUNCTION Inputs::MinAbs{{{*/ 299 IssmDouble Inputs::MinAbs(int enumtype){ 285 IssmDouble Inputs::MinAbs(int enumtype){/*{{{*/ 300 286 301 287 /*Output*/ … … 317 303 } 318 304 /*}}}*/ 319 /*FUNCTION Inputs::GetInput{{{*/ 320 Input* Inputs::GetInput(int enum_name){ 305 Input* Inputs::GetInput(int enum_name){/*{{{*/ 321 306 322 307 vector<Object*>::iterator object; … … 334 319 } 335 320 /*}}}*/ 336 /*FUNCTION Inputs::DeleteInput{{{*/ 337 int Inputs::DeleteInput(int enum_type){ 321 int Inputs::DeleteInput(int enum_type){/*{{{*/ 338 322 339 323 vector<Object*>::iterator object; … … 354 338 } 355 339 /*}}}*/ 356 /*FUNCTION Inputs::DuplicateInput{{{*/ 357 void Inputs::DuplicateInput(int original_enum,int new_enum){ 340 void Inputs::DuplicateInput(int original_enum,int new_enum){/*{{{*/ 358 341 359 342 /*Make a copy of the original input: */ … … 369 352 } 370 353 /*}}}*/ 371 /*FUNCTION Inputs::SpawnTriaInputs{{{*/ 372 Inputs* Inputs::SpawnTriaInputs(int index1,int index2,int index3){ 354 Inputs* Inputs::SpawnTriaInputs(int index1,int index2,int index3){/*{{{*/ 373 355 374 356 /*Intermediary*/ … … 395 377 } 396 378 /*}}}*/ 397 /*FUNCTION Inputs::SpawnSegInputs{{{*/ 398 Inputs* Inputs::SpawnSegInputs(int index1,int index2){ 379 Inputs* Inputs::SpawnSegInputs(int index1,int index2){/*{{{*/ 399 380 400 381 /*Intermediary*/ … … 421 402 } 422 403 /*}}}*/ 423 /*FUNCTION Inputs::AXPY{{{*/ 424 void Inputs::AXPY(int inputy_enum, IssmDouble scalar, int inputx_enum){ 404 void Inputs::AXPY(int inputy_enum, IssmDouble scalar, int inputx_enum){/*{{{*/ 425 405 426 406 /*Find x and y inputs: */ … … 436 416 } 437 417 /*}}}*/ 438 /*FUNCTION Inputs::Configure{{{*/ 439 void Inputs::Configure(Parameters* parameters){ 418 void Inputs::Configure(Parameters* parameters){/*{{{*/ 440 419 441 420 vector<Object*>::iterator object;
Note:
See TracChangeset
for help on using the changeset viewer.