Loading...
Searching...
No Matches
ITHACAparameters.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ██╗████████╗██╗ ██╗ █████╗ ██████╗ █████╗ ███████╗██╗ ██╗
3 ██║╚══██╔══╝██║ ██║██╔══██╗██╔════╝██╔══██╗ ██╔════╝██║ ██║
4 ██║ ██║ ███████║███████║██║ ███████║█████╗█████╗ ██║ ██║
5 ██║ ██║ ██╔══██║██╔══██║██║ ██╔══██║╚════╝██╔══╝ ╚██╗ ██╔╝
6 ██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ╚████╔╝
7 ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═══╝
8
9 * In real Time Highly Advanced Computational Applications for Finite Volumes
10 * Copyright (C) 2017 by the ITHACA-FV authors
11-------------------------------------------------------------------------------
12License
13 This file is part of ITHACA-FV
14 ITHACA-FV is free software: you can redistribute it and/or modify
15 it under the terms of the GNU Lesser General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18 ITHACA-FV is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU Lesser General Public License for more details.
22 You should have received a copy of the GNU Lesser General Public License
23 along with ITHACA-FV. If not, see <http://www.gnu.org/licenses/>.
24Class
25 ITHACAparameters
26Description
27 Some parameters for input output informations
28SourceFiles
29 ITHACAparameters.H
30\*---------------------------------------------------------------------------*/
31#ifndef Parameters_H
32#define Parameters_H
33
34#include <iostream>
35#include "fvCFD.H"
36#include "ITHACAassert.H"
37
41{
42 public:
43
44 ITHACAparameters(fvMesh& mesh, Time& localTime);
45
48
50 label precision;
51
56 bool debug;
58
60 std::_Ios_Fmtflags outytpe;
61
63 IOdictionary* ITHACAdict;
64
66 Time& runTime;
67
69 fvMesh& mesh;
70
73
74 public:
83 static ITHACAparameters* getInstance(fvMesh& mesh, Time& localTime);
84
91
92
95
96
97 private:
98
99};
100
101#endif
Implementation of the assert function for ITHACA-FV.
Class for the definition of some general parameters, the parameters must be defined from the file ITH...
Time & runTime
runTime defined locally
ITHACAparameters(fvMesh &mesh, Time &localTime)
static ITHACAparameters * instance
Pointer to the ITHACAparameters class.
word eigensolver
type of eigensolver used in the eigenvalue decomposition can be either be eigen or spectra
label precision
precision of the output Market Matrix objects (i.e. reduced matrices, eigenvalues,...
IOdictionary * ITHACAdict
Dictionary for input objects from file.
fvMesh & mesh
Mesh object defined locally.
~ITHACAparameters()=delete
Delete empty constructor.
static ITHACAparameters * getInstance()
Gets an instance of ITHACAparameters, to be used if the instance is already existing.
std::_Ios_Fmtflags outytpe
type of output format can be fixed or scientific