Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
particleparameters.h
Go to the documentation of this file.
1#pragma once
2/*
3 * This file is part of Vlasiator.
4 * Copyright 2010-2016 Finnish Meteorological Institute
5 *
6 * For details of usage, see the COPYING file and read the "Rules of the Road"
7 * at http://www.physics.helsinki.fi/vlasiator/
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 */
23
24#include <random>
25#include <string>
26
27#include "distribution.h"
28#include "../definitions.h"
29#include "boundaries.h"
30
31class Distribution; //forward declaration
32
34 static std::string input_filename_pattern;
35 static std::string output_filename_pattern;
36 static std::string mode;
37
38 static Real init_x;
39 static Real init_y;
40 static Real init_z;
41
42 static Real dt;
44 static Real end_time;
45 static Real input_dt;
46
47 static uint64_t num_particles;
48 static std::string V_field_name;
49 static std::string rho_field_name;
50 static bool divide_rhov_by_rho;
51
55
59
66
75
76 static std::default_random_engine::result_type random_seed;
77 static Distribution* (*distribution)(std::default_random_engine&);
80
81 static Real mass;
82 static Real charge;
83
84 static bool addParameters();
85 static bool getParameters();
86};
float Real
Definition definitions.h:41
static std::default_random_engine::result_type random_seed
static Boundary * boundary_behaviour_x
static std::string rho_field_name
static Real reflect_downstream_boundary
static std::string mode
static Real precip_inner_boundary
static Real ipshock_inject_y1
static Boundary * boundary_behaviour_z
static std::string input_filename_pattern
static Real ipshock_inject_z1
static Boundary * boundary_behaviour_y
static std::string output_filename_pattern
static bool divide_rhov_by_rho
static uint64_t num_particles
static Real ipshock_inject_z0
static Real ipshock_inject_x1
static Real ipshock_inject_x0
static Real reflect_upstream_boundary
static Real ipshock_inject_y0
static std::string V_field_name