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::UniformFieldParamsData< W, M > Struct Template Reference

Data and options for a uniform field. More...

#include <UniformFieldData.hh>

Public Types

using Real3 = Array< real_type, 3 >
 
template<class T >
using VolumeItems = celeritas::Collection< T, W, M, VolumeId >
 

Public Member Functions

CELER_FUNCTION operator bool () const
 Check whether the data is assigned.
 
template<Ownership W2, MemSpace M2>
UniformFieldParamsDataoperator= (UniformFieldParamsData< W2, M2 > const &other)
 Assign from another set of data.
 

Public Attributes

Real3 field {0, 0, 0}
 Field strength (native units)
 
FieldDriverOptions options
 
VolumeItems< charhas_field
 Volumes where field is present.
 

Detailed Description

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

Data and options for a uniform field.

If has_field is non-empty, the field will only be present in those volumes.


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