Vlasiator
ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
read_gaussian_population.h
Go to the documentation of this file.
1
/*
2
* This file is part of Vlasiator.
3
* Copyright 2010-2016 Finnish Meteorological Institute
4
*
5
* For details of usage, see the COPYING file and read the "Rules of the Road"
6
* at http://www.physics.helsinki.fi/vlasiator/
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License along
19
* with this program; if not, write to the Free Software Foundation, Inc.,
20
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
*
22
* File: read_gaussian_population.h
23
* Author: sandroos
24
*
25
* Created on March 19, 2015.
26
*/
27
28
#ifndef READ_GAUSSIAN_POPULATION_H
29
#define READ_GAUSSIAN_POPULATION_H
30
31
#include <cstdlib>
32
#include <vector>
33
34
#include "
../definitions.h
"
35
36
namespace
projects
{
37
38
struct
GaussianPopulation
{
39
uint
numberOfPopulations
;
40
std::vector<Real>
rho
;
41
std::vector<Real>
rhoPertAbsAmp
;
42
std::vector<Real>
Tx
;
43
std::vector<Real>
Ty
;
44
std::vector<Real>
Tz
;
45
std::vector<Real>
Vx
;
46
std::vector<Real>
Vy
;
47
std::vector<Real>
Vz
;
48
};
49
50
class
ReadGaussianPopulation
{
51
public
:
52
bool
addParameters
(
const
std::string& prefix);
53
bool
getParameters
(
const
std::string& prefix,
projects::GaussianPopulation
& populations);
54
};
55
56
}
// namespace projects
57
58
#endif
/* READ_GAUSSIAN_H */
59
projects::ReadGaussianPopulation
Definition
read_gaussian_population.h:50
projects::ReadGaussianPopulation::getParameters
bool getParameters(const std::string &prefix, projects::GaussianPopulation &populations)
Definition
read_gaussian_population.cpp:53
projects::ReadGaussianPopulation::addParameters
bool addParameters(const std::string &prefix)
Definition
read_gaussian_population.cpp:38
definitions.h
projects
Definition
object_wrapper.h:30
projects::GaussianPopulation
Definition
read_gaussian_population.h:38
projects::GaussianPopulation::numberOfPopulations
uint numberOfPopulations
Definition
read_gaussian_population.h:39
projects::GaussianPopulation::Vx
std::vector< Real > Vx
Definition
read_gaussian_population.h:45
projects::GaussianPopulation::rhoPertAbsAmp
std::vector< Real > rhoPertAbsAmp
Definition
read_gaussian_population.h:41
projects::GaussianPopulation::Tx
std::vector< Real > Tx
Definition
read_gaussian_population.h:42
projects::GaussianPopulation::Tz
std::vector< Real > Tz
Definition
read_gaussian_population.h:44
projects::GaussianPopulation::Vy
std::vector< Real > Vy
Definition
read_gaussian_population.h:46
projects::GaussianPopulation::rho
std::vector< Real > rho
Definition
read_gaussian_population.h:40
projects::GaussianPopulation::Ty
std::vector< Real > Ty
Definition
read_gaussian_population.h:43
projects::GaussianPopulation::Vz
std::vector< Real > Vz
Definition
read_gaussian_population.h:47
projects
read_gaussian_population.h
Generated on
for Vlasiator by
1.16.1