Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
cpu_acc_intersections.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#ifndef CPU_ACC_INTERSECTIONS_H
23#define CPU_ACC_INTERSECTIONS_H
24
25#include <Eigen/Core>
26
27#include "../definitions.h"
29
30Eigen::Matrix<Real,3,1> line_plane_intersection(const Eigen::Matrix<Real,3,1>& l_point,
31 const Eigen::Matrix<Real,3,1>& l_direction,
32 const Eigen::Matrix<Real,3,1>& p_point,
33 const Eigen::Matrix<Real,3,1>& p_normal);
34
37 const Eigen::Transform<Real,3,Eigen::Affine>& bwd_transform,
38 const Eigen::Transform<Real,3,Eigen::Affine>& fwd_transform,
39 const uint dimension,
42
45 const Eigen::Transform<Real,3,Eigen::Affine>& bwd_transform,
46 const Eigen::Transform<Real,3,Eigen::Affine>& fwd_transform,
47 const uint dimension,
50
53 const Eigen::Transform<Real,3,Eigen::Affine>& bwd_transform,
54 const Eigen::Transform<Real,3,Eigen::Affine>& fwd_transform,
55 const uint dimension,
58
61 const uint popID,
62 const uint map_order,
63 const Real& dt,
64 int intersections_id);
65
66#endif
dt
Definition Dispersion.m:39
void compute_cell_intersections(spatial_cell::SpatialCell *spatial_cell, const uint popID, const uint map_order, const Real &dt, int intersections_id)
void compute_intersections_3rd(const vmesh::VelocityMesh *vmesh, const Eigen::Transform< Real, 3, Eigen::Affine > &bwd_transform, const Eigen::Transform< Real, 3, Eigen::Affine > &fwd_transform, const uint dimension, Real &intersection, Real &intersection_di, Real &intersection_dj, Real &intersection_dk)
void compute_intersections_2nd(const vmesh::VelocityMesh *vmesh, const Eigen::Transform< Real, 3, Eigen::Affine > &bwd_transform, const Eigen::Transform< Real, 3, Eigen::Affine > &fwd_transform, const uint dimension, Real &intersection, Real &intersection_di, Real &intersection_dj, Real &intersection_dk)
Eigen::Matrix< Real, 3, 1 > line_plane_intersection(const Eigen::Matrix< Real, 3, 1 > &l_point, const Eigen::Matrix< Real, 3, 1 > &l_direction, const Eigen::Matrix< Real, 3, 1 > &p_point, const Eigen::Matrix< Real, 3, 1 > &p_normal)
void compute_intersections_1st(const vmesh::VelocityMesh *vmesh, const Eigen::Transform< Real, 3, Eigen::Affine > &bwd_transform, const Eigen::Transform< Real, 3, Eigen::Affine > &fwd_transform, const uint dimension, Real &intersection, Real &intersection_di, Real &intersection_dj, Real &intersection_dk)
float Real
Definition definitions.h:41
const Realf intersection
const Realf intersection_dk
const Realf intersection_di
const Realf intersection_dj