File: settings.h

package info (click to toggle)
groops 0%2Bgit20250907%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 11,140 kB
  • sloc: cpp: 135,607; fortran: 1,603; makefile: 20
file content (38 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/***********************************************/
/**
* @file settings.h
*
* @brief Read/write constants.
*
* @author Torsten Mayer-Guerr
* @date 2010-03-01
*
*/
/***********************************************/

#ifndef __GROOPS_SETTINGS__
#define __GROOPS_SETTINGS__

#include "inputOutput/fileName.h"

/***** FUNCTIONS *******************************/

/// @{

/** @brief Read constants to file.
* @ingroup inputOutputGroup
* The default values are overwritten. */
void readFileSettings(const FileName &fileName);

/** @brief Write the currently used constants to file.
* @ingroup inputOutputGroup
@verbatim
groops --write-settings <fileName.xml>
@endverbatim */
void writeFileSettings(const FileName &fileName);

/// @}

/***********************************************/

#endif /* __GROOPS__ */