Ignore:
Timestamp:
03/19/24 14:23:16 (4 months ago)
Author:
jderouillat
Message:

Add XIOS3 fortran interfaces (resources management, chunking, compression)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/interface/c_attr/icaxisgroup_attr.cpp

    r1626 r2616  
    143143 
    144144 
     145  void cxios_set_axisgroup_chunking_weight(axisgroup_Ptr axisgroup_hdl, double chunking_weight) 
     146  { 
     147    CTimer::get("XIOS").resume(); 
     148    axisgroup_hdl->chunking_weight.setValue(chunking_weight); 
     149    CTimer::get("XIOS").suspend(); 
     150  } 
     151 
     152  void cxios_get_axisgroup_chunking_weight(axisgroup_Ptr axisgroup_hdl, double* chunking_weight) 
     153  { 
     154    CTimer::get("XIOS").resume(); 
     155    *chunking_weight = axisgroup_hdl->chunking_weight.getInheritedValue(); 
     156    CTimer::get("XIOS").suspend(); 
     157  } 
     158 
     159  bool cxios_is_defined_axisgroup_chunking_weight(axisgroup_Ptr axisgroup_hdl) 
     160  { 
     161     CTimer::get("XIOS").resume(); 
     162     bool isDefined = axisgroup_hdl->chunking_weight.hasInheritedValue(); 
     163     CTimer::get("XIOS").suspend(); 
     164     return isDefined; 
     165  } 
     166 
     167 
    145168  void cxios_set_axisgroup_comment(axisgroup_Ptr axisgroup_hdl, const char * comment, int comment_size) 
    146169  { 
Note: See TracChangeset for help on using the changeset viewer.