Ignore:
Timestamp:
11/13/14 15:09:14 (10 years ago)
Author:
mhnguyen
Message:

Implementing buffer size auto-detection for mode client -server

+) Process xml tree in client side then send all the information to server
+) Only information enabled fields in enabled files are sent to server
+) Some important change in structure of code which must be refactored

Test
+) On Curie
+) Only mode client-server
+) Passed for all tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/interface/c_attr/iccontext_attr.cpp

    r501 r509  
    2323     CTimer::get("XIOS").resume(); 
    2424    context_hdl->calendar_type.setValue(calendar_type_str); 
    25     context_hdl->sendAttributToServer(context_hdl->calendar_type); 
    2625     CTimer::get("XIOS").suspend(); 
    2726  } 
     
    5049     CTimer::get("XIOS").resume(); 
    5150    context_hdl->output_dir.setValue(output_dir_str); 
    52     context_hdl->sendAttributToServer(context_hdl->output_dir); 
    5351     CTimer::get("XIOS").suspend(); 
    5452  } 
     
    7775     CTimer::get("XIOS").resume(); 
    7876    context_hdl->start_date.setValue(start_date_str); 
    79     context_hdl->sendAttributToServer(context_hdl->start_date); 
    8077     CTimer::get("XIOS").suspend(); 
    8178  } 
     
    104101     CTimer::get("XIOS").resume(); 
    105102    context_hdl->time_origin.setValue(time_origin_str); 
    106     context_hdl->sendAttributToServer(context_hdl->time_origin); 
    107103     CTimer::get("XIOS").suspend(); 
    108104  } 
     
    131127     CTimer::get("XIOS").resume(); 
    132128    context_hdl->timestep.setValue(timestep_str); 
    133     context_hdl->sendAttributToServer(context_hdl->timestep); 
    134129     CTimer::get("XIOS").suspend(); 
    135130  } 
Note: See TracChangeset for help on using the changeset viewer.