Changeset 718


Ignore:
Timestamp:
10/05/15 15:32:52 (6 years ago)
Author:
rlacroix
Message:

Rename "buffer_factor_size" to "buffer_size_factor" to clarify its meaning.

Location:
XIOS/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/inputs/COMPLETE/iodef.xml

    r527 r718  
    1010        <variable_group id="buffer"> 
    1111            <variable id="optimal_buffer_size" type="string">memory</variable> 
    12             <variable id="buffer_factor_size" type="double">1.0</variable>  
     12            <variable id="buffer_size_factor" type="double">1.0</variable> 
    1313         </variable_group> 
    1414 
  • XIOS/trunk/inputs/REMAP/iodef.xml

    r715 r718  
    7272        <variable_group id="buffer"> 
    7373            <variable id="optimal_buffer_size" type="string">performance</variable> 
    74             <variable id="buffer_factor_size" type="double">30.0</variable> 
     74            <variable id="buffer_size_factor" type="double">30.0</variable> 
    7575         </variable_group> 
    7676 
  • XIOS/trunk/inputs/Unstruct/iodef.xml

    r657 r718  
    3535        <variable_group id="buffer"> 
    3636            <variable id="optimal_buffer_size" type="string">performance</variable> 
    37             <variable id="buffer_factor_size" type="double">1.0</variable> 
     37            <variable id="buffer_size_factor" type="double">1.0</variable> 
    3838         </variable_group> 
    3939 
  • XIOS/trunk/inputs/Version2/iodef.xml

    r687 r718  
    128128        <variable_group id="buffer"> 
    129129            <variable id="optimal_buffer_size" type="string">performance</variable> 
    130             <variable id="buffer_factor_size" type="double">1.0</variable> 
     130            <variable id="buffer_size_factor" type="double">1.0</variable> 
    131131         </variable_group> 
    132132 
  • XIOS/trunk/inputs/iodef.xml

    r624 r718  
    5555        <variable_group id="buffer"> 
    5656            <variable id="optimal_buffer_size" type="string">performance</variable> 
    57             <variable id="buffer_factor_size" type="double">1.0</variable> 
     57            <variable id="buffer_size_factor" type="double">1.0</variable> 
    5858         </variable_group> 
    5959 
  • XIOS/trunk/src/cxios.cpp

    r698 r718  
    2424  bool CXios::usingOasis ; 
    2525  bool CXios::usingServer = false; 
    26   double CXios::bufferServerFactorSize=1.0 ; 
    27   double CXios::defaultBufferServerFactorSize=1.0 ; 
     26  double CXios::bufferSizeFactor = 1.0; 
     27  const double CXios::defaultBufferSizeFactor = 1.0; 
    2828  bool CXios::printLogs2Files; 
    2929  bool CXios::isOptPerformance = true; 
     
    6060    } 
    6161 
    62     bufferServerFactorSize=getin<double>("buffer_factor_size",defaultBufferServerFactorSize) ; 
     62    bufferSizeFactor = getin<double>("buffer_size_factor", defaultBufferSizeFactor); 
     63 
    6364    globalComm=MPI_COMM_WORLD ; 
    6465  } 
  • XIOS/trunk/src/cxios.hpp

    r697 r718  
    4040     static bool usingOasis ; //!< Using Oasis 
    4141     static bool usingServer ; //!< Using server (server mode) 
    42      static double bufferServerFactorSize ; //!< Factor helps tune buffer size 
    43      static double defaultBufferServerFactorSize ; //!< Default factor value 
     42     static double bufferSizeFactor; //!< Factor used to tune the buffer size 
     43     static const double defaultBufferSizeFactor; //!< Default factor value 
    4444     static bool isOptPerformance; //!< Check if buffer size is for performance (as large as possible) 
    4545     static CRegistry* globalRegistry ; //!< global registry which is wrote by the root process of the servers 
  • XIOS/trunk/src/node/grid.cpp

    r687 r718  
    8686   std::map<int, StdSize> CGrid::getConnectedServerDataSize() 
    8787   { 
    88      double secureFactor = 2.5 * sizeof(double) * CXios::bufferServerFactorSize; 
     88     double secureFactor = 2.5 * sizeof(double) * CXios::bufferSizeFactor; 
    8989     StdSize retVal = 1; 
    9090     std::map<int, StdSize> ret; 
Note: See TracChangeset for help on using the changeset viewer.