Richards
Solving The Richards equation with temporally periodic surface boundary conditions
Functions
settings.cc File Reference
#include "settings.h"

Go to the source code of this file.

Functions

bool eval_txt_bool (const char *s)
 converts a string into a bool if it's supposed to be "true" or "false"
 
bool cmp (const char *s1, const char *s2)
 abbreviates strcmp
 
long to_long (const char *val)
 converts a character to an integet
 
Settings parse_settings (std::vector< std::vector< std::string > > sv)
 parses a settings file and returns it in a Settings structure More...
 
Settings copy_settings (Settings &b)
 constructs a copy of another Settings object More...
 

Function Documentation

◆ copy_settings()

Settings copy_settings ( Settings &  b)

constructs a copy of another Settings object

Parameters
[in]bthe Settings object to copy

Definition at line 87 of file settings.cc.

◆ parse_settings()

Settings parse_settings ( std::vector< std::vector< std::string > >  sv)

parses a settings file and returns it in a Settings structure

Parameters
[in]svvector of vectors of strings from read_values_file()

Definition at line 20 of file settings.cc.