XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
f_source.hpp
Go to the documentation of this file.
1 #ifndef F_SOURCE_HPP
2 #define F_SOURCE_HPP
3 
4 #include "sml.hpp"
5 #include "plasma.hpp"
6 #include "perturbed_B_field.hpp"
7 #include "sources.hpp"
9 
10 void diag_f0_df_port1(const int diag_f0_df_idx);
11 
12 void f_source(int istep, const Simulation<DeviceType>& sml,
14  const DomainDecomposition<DeviceType>& pol_decomp, const VelocityGrid& vgrid, Plasma& plasma,
15  const PerturbedBField<DeviceType>& perturbed_B_field, Sources& sources,
16  DMWrapper& pseudo_inv_dm);
17 
18 #endif
Definition: sources.hpp:15
Definition: perturbed_B_field.hpp:16
Definition: velocity_grid.hpp:7
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: DM_wrapper.hpp:33
Definition: magnetic_field.hpp:9
Definition: electric_field.hpp:12
void f_source(int istep, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, const PerturbedBField< DeviceType > &perturbed_B_field, Sources &sources, DMWrapper &pseudo_inv_dm)
Definition: f_source.cpp:57
Definition: magnetic_field.F90:1
Definition: plasma.hpp:15
subroutine diag_f0_df_port1(idx, grid, spall, f0_f, f0_df0g)
Save change of densiy, energy and momentum due to sources (collisions, neutrals, etc.) The information is gathered on the triangular grid and averaged over the toroidal direction. Extension to 3D output with toroidal resolution is possible.
Definition: diagnosis.F90:3819