Vlasiator
ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
cpu_acc_transform.hpp
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
23
#ifndef CPU_ACC_TRANSFORM_H
24
#define CPU_ACC_TRANSFORM_H
25
26
#include <Eigen/Geometry>
27
#include <Eigen/Core>
28
29
#include "
../common.h
"
30
#include "
../spatial_cells/spatial_cell_wrapper.hpp
"
31
32
Eigen::Transform<Real,3,Eigen::Affine>
compute_acceleration_transformation
(
33
const
spatial_cell::SpatialCell
*
spatial_cell
,
const
uint popID,
const
Real
&
dt
);
34
35
void
updateAccelerationMaxdt
(
spatial_cell::SpatialCell
*
spatial_cell
,
36
const
uint popID);
37
38
39
40
#endif
dt
dt
Definition
Dispersion.m:39
spatial_cell::SpatialCell
Definition
spatial_cell_cpu.hpp:235
common.h
compute_acceleration_transformation
Eigen::Transform< Real, 3, Eigen::Affine > compute_acceleration_transformation(const spatial_cell::SpatialCell *spatial_cell, const uint popID, const Real &dt)
Definition
cpu_acc_transform.cpp:66
updateAccelerationMaxdt
void updateAccelerationMaxdt(spatial_cell::SpatialCell *spatial_cell, const uint popID)
Definition
cpu_acc_transform.cpp:41
Real
float Real
Definition
definitions.h:41
spatial_cell
Definition
object_wrapper.h:27
spatial_cell_wrapper.hpp
vlasovsolver
cpu_acc_transform.hpp
Generated on
for Vlasiator by
1.16.1