atrtp

Thermodynamic properties of a medium in combustion
git clone git://git.meso-star.fr/atrtp.git
Log | Files | Refs | README | LICENSE

atrtp_c.h (1180B)


      1 /* Copyright (C) 2022, 2023 |Méso|Star> (contact@meso-star.com)
      2  * Copyright (C) 2020, 2021 Centre National de la Recherche Scientifique
      3  *
      4  * This program is free software: you can redistribute it and/or modify
      5  * it under the terms of the GNU General Public License as published by
      6  * the Free Software Foundation, either version 3 of the License, or
      7  * (at your option) any later version.
      8  *
      9  * This program is distributed in the hope that it will be useful,
     10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     12  * GNU General Public License for more details.
     13  *
     14  * You should have received a copy of the GNU General Public License
     15  * along with this program. If not, see <http://www.gnu.org/licenses/>. */
     16 
     17 #ifndef ATRTP_C_H
     18 #define ATRTP_C_H
     19 
     20 #include <rsys/logger.h>
     21 #include <rsys/ref_count.h>
     22 
     23 struct mem_allocator;
     24 
     25 struct atrtp {
     26   uint64_t pagesize;
     27   uint64_t nnodes;
     28 
     29   double* props;
     30   size_t map_len;
     31 
     32   size_t pagesize_os;
     33 
     34   struct mem_allocator* allocator;
     35   struct logger* logger;
     36   struct logger logger__; /* Default logger */
     37   int verbose;
     38   ref_T ref;
     39 };
     40 
     41 #endif /* ATRTP_C_H */