Celeritas
0.5.0-86+4a8eea4
|
Global parameters required to run a problem. More...
#include <CoreParams.hh>
Classes | |
struct | Input |
Public Member Functions | |
CoreParams (Input inp) | |
Construct with all problem data, creating some actions too. | |
HostRef const & | host_ref () const final |
Access data on the host. | |
DeviceRef const & | device_ref () const final |
Access data on the device. | |
template<MemSpace M> | |
ConstPtr< M > | ptr () const |
size_type | max_streams () const |
Maximum number of streams. | |
template<MemSpace M> | |
auto | ptr () const -> ConstPtr< M > |
Access a native pointer to a NativeCRef. More... | |
template<MemSpace M> | |
auto | ptr () const -> ConstPtr< M > |
Access a native pointer to a NativeCRef. More... | |
Public Member Functions inherited from celeritas::ParamsDataInterface< CoreParamsData > | |
CoreParamsData< Ownership::const_reference, M > const & | ref () const |
Dispatch a "ref" call to host or device data. | |
Type aliases | |
using | SPConstGeo = std::shared_ptr< GeoParams const > |
using | SPConstMaterial = std::shared_ptr< MaterialParams const > |
using | SPConstGeoMaterial = std::shared_ptr< GeoMaterialParams const > |
using | SPConstParticle = std::shared_ptr< ParticleParams const > |
using | SPConstCutoff = std::shared_ptr< CutoffParams const > |
using | SPConstPhysics = std::shared_ptr< PhysicsParams const > |
using | SPConstRng = std::shared_ptr< RngParams const > |
using | SPConstSim = std::shared_ptr< SimParams const > |
using | SPConstTrackInit = std::shared_ptr< TrackInitParams const > |
using | SPConstWentzelOKVI = std::shared_ptr< WentzelOKVIParams const > |
using | SPConstMpiCommunicator = std::shared_ptr< MpiCommunicator const > |
using | SPActionRegistry = std::shared_ptr< ActionRegistry > |
using | SPOutputRegistry = std::shared_ptr< OutputRegistry > |
using | SPUserRegistry = std::shared_ptr< AuxParamsRegistry > |
template<MemSpace M> | |
using | ConstRef = CoreParamsData< Ownership::const_reference, M > |
template<MemSpace M> | |
using | ConstPtr = ObserverPtr< ConstRef< M > const, M > |
SPConstGeo const & | geometry () const |
SPConstMaterial const & | material () const |
SPConstGeoMaterial const & | geomaterial () const |
SPConstParticle const & | particle () const |
SPConstCutoff const & | cutoff () const |
SPConstPhysics const & | physics () const |
SPConstRng const & | rng () const |
SPConstSim const & | sim () const |
SPConstTrackInit const & | init () const |
SPConstWentzelOKVI const & | wentzel () const |
SPActionRegistry const & | action_reg () const |
SPOutputRegistry const & | output_reg () const |
SPUserRegistry const & | aux_reg () const |
SPConstMpiCommunicator const & | mpi_comm () const |
Additional Inherited Members | |
Public Types inherited from celeritas::ParamsDataInterface< CoreParamsData > | |
using | HostRef = HostCRef< CoreParamsData > |
using | DeviceRef = DeviceCRef< CoreParamsData > |
Protected Member Functions inherited from celeritas::ParamsDataInterface< CoreParamsData > | |
CELER_DEFAULT_COPY_MOVE (ParamsDataInterface) | |
Global parameters required to run a problem.
using celeritas::CoreParams::ConstPtr = ObserverPtr<ConstRef<M> const, M> |
Access shared problem parameter data.
using celeritas::CoreParams::ConstRef = CoreParamsData<Ownership::const_reference, M> |
Access shared problem parameter data.
using celeritas::CoreParams::SPActionRegistry = std::shared_ptr<ActionRegistry> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstCutoff = std::shared_ptr<CutoffParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstGeo = std::shared_ptr<GeoParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstGeoMaterial = std::shared_ptr<GeoMaterialParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstMaterial = std::shared_ptr<MaterialParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstMpiCommunicator = std::shared_ptr<MpiCommunicator const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstParticle = std::shared_ptr<ParticleParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstPhysics = std::shared_ptr<PhysicsParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstRng = std::shared_ptr<RngParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstSim = std::shared_ptr<SimParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstTrackInit = std::shared_ptr<TrackInitParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPConstWentzelOKVI = std::shared_ptr<WentzelOKVIParams const> |
Access shared problem parameter data.
using celeritas::CoreParams::SPOutputRegistry = std::shared_ptr<OutputRegistry> |
Access shared problem parameter data.
using celeritas::CoreParams::SPUserRegistry = std::shared_ptr<AuxParamsRegistry> |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
auto celeritas::CoreParams::ptr | ( | ) | const -> ConstPtr<M> |
Access a native pointer to a NativeCRef.
This way, CUDA kernels only need to copy a pointer in the kernel arguments, rather than the entire (rather large) DeviceRef object.
auto celeritas::CoreParams::ptr | ( | ) | const -> ConstPtr<M> |
Access a native pointer to a NativeCRef.
This way, CUDA kernels only need to copy a pointer in the kernel arguments, rather than the entire (rather large) DeviceRef object.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.
|
inline |
Access shared problem parameter data.