Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::CylMapFieldParamsData< W, M > Struct Template Reference

Device data for interpolating field values. More...

#include <CylMapFieldData.hh>

Public Types

using real_type = cylmap_real_type
 
using ElementId = ItemId< size_type >
 Index of MapField Collection.
 
template<class T >
using ElementItems = Collection< T, W, M, ElementId >
 

Public Member Functions

CELER_FUNCTION operator bool () const
 Check whether the data is assigned.
 
CELER_FUNCTION bool valid (real_type r, Turn_t< real_type > phi, real_type z) const
 Check if the given position is within the field map bounds.
 
CELER_FUNCTION ElementId id (size_type idx_r, size_type idx_phi, size_type idx_z) const
 
template<Ownership W2, MemSpace M2>
CylMapFieldParamsDataoperator= (CylMapFieldParamsData< W2, M2 > const &other)
 Assign from another set of data.
 

Public Attributes

CylMapGridData< W, Mgrids
 Grids of MapField.
 
FieldDriverOptions options
 Options for FieldDriver.
 
ElementItems< EnumArray< CylAxis, real_type > > fieldmap
 MapField data.
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::CylMapFieldParamsData< W, M >

Device data for interpolating field values.


The documentation for this struct was generated from the following file: