XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
spectral_decomposition.hpp
Go to the documentation of this file.
1 #ifndef SPECTRAL_DECOMPOSITION_HPP
2 #define SPECTRAL_DECOMPOSITION_HPP
3 
4 #include "grid.hpp"
6 
7 void spectral_solver_decompose(const Grid<DeviceType>& grid, const DomainDecomposition<DeviceType>& pol_decomp, const View<double*,CLayout,HostType>& field_inout, const View<double**,CLayout,HostType>& field_ntor);
8 
9 void spectral_solver_reassemble(const Grid<DeviceType>& grid,const DomainDecomposition<DeviceType>& pol_decomp,const View<double*,CLayout,HostType>& field_inout,const View<double**,CLayout,HostType>& field_ntor);
10 
11 #endif
subroutine spectral_solver_reassemble(grid, field_inout, field_ntor)
Reassemble the full field from the spectral components treated by the spectral solver, and the rest treated by the regular solver.
Definition: poisson.F90:1191
subroutine spectral_solver_decompose(grid, field_inout, field_ntor)
Decompose field into spectral components treated by the spectral solver and the rest treated by the r...
Definition: poisson.F90:1107