Vlasiator
ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
particle_species.cpp
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
#include <cstdlib>
23
#include <iostream>
24
25
#include "
particle_species.h
"
26
27
using namespace
std;
28
29
species::Species::Species
() { }
30
31
species::Species::Species
(
const
Species
& other) :
32
name
{other.
name
},
charge
{other.
charge
},
mass
{other.
mass
},
sparseMinValue
{other.
sparseMinValue
},
velocityMesh
{other.
velocityMesh
} {}
33
34
species::Species::~Species
() { }
particle_species.h
species::Species::charge
Real charge
Definition
particle_species.h:46
species::Species::mass
Real mass
Definition
particle_species.h:47
species::Species::~Species
~Species()
Definition
particle_species.cpp:34
species::Species::sparseMinValue
Real sparseMinValue
Definition
particle_species.h:48
species::Species::name
std::string name
Definition
particle_species.h:45
species::Species::Species
Species()
Definition
particle_species.cpp:29
species::Species::velocityMesh
size_t velocityMesh
Definition
particle_species.h:49
particle_species.cpp
Generated on
for Vlasiator by
1.16.1