Loading...
Searching...
No Matches
Ptot.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-------------------------------------------------------------------------------
12
13 License
14 This file is part of ITHACA-FV
15
16 ITHACA-FV is free software: you can redistribute it and/or modify
17 it under the terms of the GNU Lesser General Public License as published by
18 the Free Software Foundation, either version 3 of the License, or
19 (at your option) any later version.
20
21 ITHACA-FV is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU Lesser General Public License for more details.
25
26 You should have received a copy of the GNU Lesser General Public License
27 along with ITHACA-FV. If not, see <http://www.gnu.org/licenses/>.
28
29\*---------------------------------------------------------------------------*/
30#ifndef Ptot_H
31#define Ptot_H
32#include <string>
33#include <iostream>
34#include <math.h>
35#include <sys/stat.h>
36#include <Eigen/Eigen>
37#include "fvCFD.H"
38#include "ITHACAstream.H"
39#include "FofM.H"
40
41class Ptot : public FofM
42{
43 public:
44 //Constructors:
45 Ptot();
46 Ptot(int argc, char* argv[], label Nsampled);
47 ~Ptot() {};
48
49 //Members:
50
52 autoPtr<volScalarField> _powerDens;
53
54
55 //Methods
59 void buildMO(std::string dir);
60
61};
62
63#endif
Header file of the ITHACAstream class, it contains the implementation of several methods for input ou...
Definition FofM.H:40
Definition Ptot.H:42
~Ptot()
Definition Ptot.H:47
void buildMO(std::string dir)
Method that computes the total power at the last time instant of the simulation, output are sought in...
Definition Ptot.C:17
Ptot()
Definition Ptot.C:3
autoPtr< volScalarField > _powerDens
List of pointers to power density field.
Definition Ptot.H:52