Ignore:
Timestamp:
08/19/11 18:04:03 (14 years ago)
Author:
Eric.Larour
Message:

Major rewrite of the code so that IoModel now has a parameters dataset, which gets
loaded with all the int,char and double objects in the input file.
This is a lot more flexible, as anyone can add a field to the model, and it will
automatically appear in the IoModel parameters dataset.

Not debugged with respect to nightly runs yet. Trying to get the whole change finished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Container/Parameters.cpp

    r9320 r9356  
    430430}
    431431/*}}}*/
     432/*FUNCTION Parameters::UnitConversion(int direction_enum);{{{1*/
     433void   Parameters::UnitConversion(int direction_enum){
     434
     435        vector<Object*>::iterator object;
     436        Param* param=NULL;
     437
     438        for ( object=objects.begin() ; object < objects.end(); object++ ){
     439                param=(Param*)(*object);
     440                param->UnitConversion(direction_enum);
     441        }
     442
     443}
     444/*}}}*/
    432445
    433446/*FUNCTION Parameters::FindParamObject{{{1*/
Note: See TracChangeset for help on using the changeset viewer.