1 #ifndef FLUX_SURFACE_AVERAGE_HPP
2 #define FLUX_SURFACE_AVERAGE_HPP
17 void wall_nodes_strikep_method(
NLReader::NamelistReader& nlr,
const MagneticField<DeviceType>&
magnetic_field,
const Plane<HostType>& plane,
const PlaneFiles& plane_files,
const View<double*,CLayout,HostType>& psi_surf,
const View<int*,CLayout,DeviceType>& num_t_node,
const View<int**,CLayout,DeviceType>& tr_node);
24 template<
class Device2>
37 FluxSurfaceAverage(
NLReader::NamelistReader& nlr,
const MagneticField<DeviceType>&
magnetic_field,
const Plane<HostType>& plane,
const PlaneFiles& plane_files,
const VolumesAndAreas& volumes_and_areas,
const View<int*,CLayout,DeviceType>& num_t_node,
const View<int**,CLayout,DeviceType>& tr_node);
39 View<double*, CLayout, Device>
to_surf(
const View<double*, CLayout, Device>& input)
const;
41 void from_surf(
const View<double*, CLayout, Device>& input,
const View<double*, CLayout, Device>& output)
const;
43 View<double*, CLayout, Device>
average(
const View<double*, CLayout, Device>& array)
const;
45 View<double*, CLayout, Device>
average(
const View<double*, CLayout, Device>& array,
const View<double*, CLayout, Device>& output_surf)
const;
47 void average(
const View<double*, CLayout, Device>& array,
const View<double*, CLayout, Device>& output_surf,
const View<double*, CLayout, Device>& tmp00)
const;
49 void average(
const View<double**, CLayout, Device>& array)
const;
FluxSurfaceAverage()
Definition: flux_surface_average.hpp:21
Matrix< Device > to_flux_surface
Definition: flux_surface_average.hpp:13
void mirror_copy(T1 &view_dest, const T2 &view_src)
Definition: my_mirror_view.hpp:122
void wall_nodes_strikep_method(NLReader::NamelistReader &nlr, const MagneticField< DeviceType > &magnetic_field, const Plane< HostType > &plane, const PlaneFiles &plane_files, const View< double *, CLayout, HostType > &psi_surf, const View< int *, CLayout, DeviceType > &num_t_node, const View< int **, CLayout, DeviceType > &tr_node)
Definition: NamelistReader.hpp:193
Definition: magnetic_field.hpp:12
void from_surf(const View< double *, CLayout, Device > &input, const View< double *, CLayout, Device > &output) const
Definition: flux_surface_average.cpp:341
View< double *, CLayout, Device > to_surf(const View< double *, CLayout, Device > &input) const
Definition: flux_surface_average.cpp:333
Definition: flux_surface_average.hpp:8
Matrix< Device > from_flux_surface
Definition: flux_surface_average.hpp:14
Definition: volumes_and_areas.hpp:14
int nsurfs() const
Definition: flux_surface_average.cpp:381
FluxSurfaceAverage< Device2 > mirror() const
Definition: flux_surface_average.hpp:25
Definition: matrix.hpp:11
View< double *, CLayout, Device > surf_vol
Definition: flux_surface_average.hpp:15
View< T *, CLayout, Device > my_mirror_view(const View< T *, CLayout, Device > &view, Device nd)
Definition: my_mirror_view.hpp:14
Definition: magnetic_field.F90:1
Definition: grid_files.hpp:21
View< double *, CLayout, Device > average(const View< double *, CLayout, Device > &array) const
Definition: flux_surface_average.cpp:347