Ignore:
Timestamp:
Jan 24, 2018, 10:24:24 PM (7 years ago)
Author:
jvatant
Message:

Making Titan's hazy again - part II
+ Major updates of J.Burgalat YAMMS library and optical coupling, including :
++ Added the routines for haze optics inside YAMMS
++ Calling rad. transf. with interactive haze is plugged
in but should stay unactive as long as the microphysics is
in test phase : cf "uncoupl_optic_haze" flag : true for now !
++ Also some sanity checks for negative tendencies and
some others upkeep of YAMMS model
+ Also added a temporary CPP key USE_QTEST in physiq_mod
that enables to have microphysical tendencies separated
from dynamics for debugging and test phases
-- JVO and JB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/muphytitan/csystem.h

    r1793 r1897  
    1 /* Copyright Jérémie Burgalat (2010-2015)
    2  *
    3  * burgalat.jeremie@gmail.com
     1/* Copyright Jérémie Burgalat (2010-2015,2017)
     2 *
     3 * jeremie.burgalat@univ-reims.fr
    44 *
    55 * This software is a computer program whose purpose is to provide configuration
     
    3131 * The fact that you are presently reading this means that you have had
    3232 * knowledge of the CeCILL-B license and that you accept its terms.
    33  *//* csystem.h */
     33 */
    3434
    3535
     
    172172 */
    173173int c_mkdir(const char *path, mode_t mode);
     174
     175
     176/**
     177 * Copy file to another.
     178 * @param to A C string with the new filepath
     179 * @param from A C string with the filepath to copy
     180 * @return An integer with 0 on success, 1 on failure.
     181 */
     182int c_copy(const char *to, const char *from);
    174183
    175184/**
     
    255264int c_termsize(int *rows,int *cols);
    256265
     266/**
     267 * Get the current resident set size memory used by the program.
     268 */
     269size_t c_getCurrentRSS();
     270
     271/**
     272 * Get the peak resident set size memory used by the program.
     273 */
     274size_t c_getPeakRSS();
     275
     276/**
     277 * Get global memory usage informations.
     278 *
     279 * Note: The method attempts to read /proc/meminfo. If the file does not exists, all the given output arguments are
     280 * set to zero.
     281 */
     282int c_getSystemMemory(long long int *m_total,long long int *m_available,long long int *m_free);
Note: See TracChangeset for help on using the changeset viewer.