XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
FluxSurfaceAverage< Device > Class Template Reference

#include <flux_surface_average.hpp>

Collaboration diagram for FluxSurfaceAverage< Device >:
Collaboration graph
[legend]

Public Member Functions

 FluxSurfaceAverage ()
 
template<class Device2 >
FluxSurfaceAverage< Device2 > mirror () const
 
 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)
 
View< double *, CLayout, Device > to_surf (const View< double *, CLayout, Device > &input) const
 
void from_surf (const View< double *, CLayout, Device > &input, const View< double *, CLayout, Device > &output) const
 
View< double *, CLayout, Device > average (const View< double *, CLayout, Device > &array) const
 
View< double *, CLayout, Device > average (const View< double *, CLayout, Device > &array, const View< double *, CLayout, Device > &output_surf) const
 
void average (const View< double *, CLayout, Device > &array, const View< double *, CLayout, Device > &output_surf, const View< double *, CLayout, Device > &tmp00) const
 
void average (const View< double **, CLayout, Device > &array) const
 
int nsurfs () const
 

Private Member Functions

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)
 
template<>
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_d, const View< int **, CLayout, DeviceType > &tr_node_d)
 
template<>
 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)
 

Private Attributes

Matrix< Device > to_flux_surface
 
Matrix< Device > from_flux_surface
 
View< double *, CLayout, Device > surf_vol
 

Friends

template<class Device2 >
class FluxSurfaceAverage
 

Constructor & Destructor Documentation

template<class Device>
FluxSurfaceAverage< Device >::FluxSurfaceAverage ( )
inline
template<class Device>
FluxSurfaceAverage< Device >::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 
)
template<>
FluxSurfaceAverage< HostType >::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 
)
private

Here is the call graph for this function:

Member Function Documentation

template<class Device>
View< double *, CLayout, Device > FluxSurfaceAverage< Device >::average ( const View< double *, CLayout, Device > &  array) const

Here is the caller graph for this function:

template<class Device>
View< double *, CLayout, Device > FluxSurfaceAverage< Device >::average ( const View< double *, CLayout, Device > &  array,
const View< double *, CLayout, Device > &  output_surf 
) const
template<class Device>
void FluxSurfaceAverage< Device >::average ( const View< double *, CLayout, Device > &  array,
const View< double *, CLayout, Device > &  output_surf,
const View< double *, CLayout, Device > &  tmp00 
) const
template<class Device>
void FluxSurfaceAverage< Device >::average ( const View< double **, CLayout, Device > &  array) const

Here is the call graph for this function:

template<class Device>
void FluxSurfaceAverage< Device >::from_surf ( const View< double *, CLayout, Device > &  input,
const View< double *, CLayout, Device > &  output 
) const

Here is the caller graph for this function:

template<class Device>
template<class Device2 >
FluxSurfaceAverage<Device2> FluxSurfaceAverage< Device >::mirror ( ) const
inline
template<class Device >
int FluxSurfaceAverage< Device >::nsurfs ( ) const

Here is the caller graph for this function:

template<class Device>
View< double *, CLayout, Device > FluxSurfaceAverage< Device >::to_surf ( const View< double *, CLayout, Device > &  input) const

Here is the caller graph for this function:

template<class Device>
void FluxSurfaceAverage< Device >::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 
)
private
template<>
void FluxSurfaceAverage< HostType >::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_d,
const View< int **, CLayout, DeviceType > &  tr_node_d 
)
private

Here is the call graph for this function:

Friends And Related Function Documentation

template<class Device>
template<class Device2 >
friend class FluxSurfaceAverage
friend

Member Data Documentation

template<class Device>
Matrix<Device> FluxSurfaceAverage< Device >::from_flux_surface
private
template<class Device>
View<double*, CLayout, Device> FluxSurfaceAverage< Device >::surf_vol
private
template<class Device>
Matrix<Device> FluxSurfaceAverage< Device >::to_flux_surface
private

The documentation for this class was generated from the following files: