XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
push.hpp
Go to the documentation of this file.
1 #ifndef PUSH_HPP
2 #define PUSH_HPP
3 
4 #include "sml.hpp"
5 #include "magnetic_field.hpp"
6 #include "grid.hpp"
7 #include "electric_field.hpp"
8 #include "plasma.hpp"
9 #include "perturbed_B_field.hpp"
10 #include "sort.hpp"
11 #include "push_diagnostic.hpp"
12 #include "sheath.hpp"
13 #include "neutrals.hpp"
14 #include "domain_decomposition.hpp"
15 
16 
17 template<KinType KT, PhiInterpType PIT>
18 void templated_push(const int ipc,const bool diag_on, const Simulation<DeviceType> &sml, const Grid<DeviceType> &grid,
20  const GridFieldPack<DeviceType, PIT> &gfpack, const PerturbedBField<DeviceType> &perturbed_B_field,
21  const Sheath<DeviceType> &sheath, const SheathParticles<DeviceType> &sheath_particles,
22  const Neutrals<DeviceType> &neutrals, SortViews<DeviceType> &sort_views, const PushDiagnostic<DeviceType> &diag,
23  const HeatDiagnostics<DeviceType> &heat_diag, const DomainDecomposition<DeviceType> &pol_decomp );
24 
25 template<PhiInterpType PIT>
26 void push(int ipc, int istep, int isp, bool diag_on, const Simulation<DeviceType> &sml, const Grid<DeviceType> &grid,
28  GridFieldPack<DeviceType, PIT> &gfpack, const PerturbedBField<DeviceType> &perturbed_B_field,
29  const Sheath<DeviceType> &sheath, SheathParticles<DeviceType> &sheath_particles,
30  const Neutrals<DeviceType> &neutrals, SortViews<DeviceType> &sort_views, const PushDiagnostic<DeviceType> &diag,
31  const HeatDiagnostics<DeviceType> &heat_diag,
32  const DomainDecomposition<DeviceType> &pol_decomp );
33 
34 void push_all_species(int ipc, int istep, bool diag_on, const Simulation<DeviceType> &sml, const Grid<DeviceType> &grid,
36  ElectricField<DeviceType> &electric_field, const PerturbedBField<DeviceType> &perturbed_B_field,
37  const Sheath<DeviceType> &sheath, SheathParticles<DeviceType> &sheath_particles,
38  const Neutrals<DeviceType> &neutrals, const PushDiagnostic<DeviceType> &diag,
39  const HeatDiagnostics<DeviceType> &heat_diag,
40  const DomainDecomposition<DeviceType> &pol_decomp );
41 
43  const PerturbedBField<DeviceType> &perturbed_B_field, const Sheath<DeviceType> &sheath,
44  const Neutrals<DeviceType> &neutrals, const PushDiagnostic<DeviceType> &diag,
45  const HeatDiagnostics<DeviceType> &heat_diag);
46 
48  const SheathParticles<DeviceType> &sheath_particles, const Neutrals<DeviceType> &neutrals, const PushDiagnostic<DeviceType> &diag,
49  const HeatDiagnostics<DeviceType> &heat_diag);
50 
51 void setup_sheath_mode_2(SheathParticles<DeviceType> &sheath_particles, int n_tmp);
52 
53 #endif
Definition: perturbed_B_field.hpp:16
Definition: sml.hpp:8
subroutine plasma(grid, itr, p, dene_out, deni_out, Te_out, Ti_out, Vparai_out)
Calculate the plasma density, temperature, and parallel velocity for a point in triangle itr using pl...
Definition: neutral_totalf.F90:1235
Definition: magnetic_field.hpp:9
Definition: electric_field.hpp:12
void copy_push_updates_from_device(const Simulation< DeviceType > &sml, const Sheath< DeviceType > &sheath, const SheathParticles< DeviceType > &sheath_particles, const Neutrals< DeviceType > &neutrals, const PushDiagnostic< DeviceType > &diag, const HeatDiagnostics< DeviceType > &heat_diag)
Definition: push.cpp:288
Definition: grid_field_pack.hpp:241
void templated_push(const int ipc, const bool diag_on, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Species< DeviceType > &species, const GridFieldPack< DeviceType, PIT > &grid_field_pack, const PerturbedBField< DeviceType > &perturbed_B_field, const Sheath< DeviceType > &sheath, const SheathParticles< DeviceType > &sheath_particles, const Neutrals< DeviceType > &neutrals, SortViews< DeviceType > &sort_views, const PushDiagnostic< DeviceType > &diag, const HeatDiagnostics< DeviceType > &heat_diag, const DomainDecomposition< DeviceType > &pol_decomp)
Definition: push.cpp:30
void copy_push_requisites_to_device(const Simulation< DeviceType > &sml, const PerturbedBField< DeviceType > &perturbed_B_field, const Sheath< DeviceType > &sheath, const Neutrals< DeviceType > &neutrals, const PushDiagnostic< DeviceType > &diag, const HeatDiagnostics< DeviceType > &heat_diag)
Definition: push.cpp:235
void setup_sheath_mode_2(SheathParticles< DeviceType > &sheath_particles, int n_tmp)
Definition: push.cpp:228
void push_all_species(int ipc, int istep, bool diag_on, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma, ElectricField< DeviceType > &electric_field, const PerturbedBField< DeviceType > &perturbed_B_field, const Sheath< DeviceType > &sheath, SheathParticles< DeviceType > &sheath_particles, const Neutrals< DeviceType > &neutrals, const PushDiagnostic< DeviceType > &diag, const HeatDiagnostics< DeviceType > &heat_diag, const DomainDecomposition< DeviceType > &pol_decomp)
Definition: push.cpp:357
void push(int ipc, int istep, int isp, bool diag_on, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Species< DeviceType > &species, GridFieldPack< DeviceType, PIT > &grid_field_pack, const PerturbedBField< DeviceType > &perturbed_B_field, const Sheath< DeviceType > &sheath, SheathParticles< DeviceType > &sheath_particles, const Neutrals< DeviceType > &neutrals, SortViews< DeviceType > &sort_views, const PushDiagnostic< DeviceType > &diag, const HeatDiagnostics< DeviceType > &heat_diag, const DomainDecomposition< DeviceType > &pol_decomp)
Definition: push.cpp:153
Definition: sheath.hpp:16
Definition: neutrals.hpp:6
Definition: sort.hpp:9
Definition: magnetic_field.F90:1
Definition: plasma.hpp:15
Definition: sheath.hpp:42
Definition: species.hpp:66