Celeritas 0.7-develop+a3e14d7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::Process Class Referenceabstract

Interface common to all physics processes. More...

#include <Process.hh>

Inheritance diagram for celeritas::Process:
Inheritance graph
[legend]

Public Types

Type aliases
using ActionIdIter = RangeIter< ActionId >
 

Public Member Functions

virtual ~Process ()
 Default destructor.
 
virtual bool applies_at_rest () const =0
 Whether the process applies when the particle is stopped.
 
virtual std::string_view label () const =0
 Name of the process.
 

Protected Member Functions

 Process (Process const &)=default
 
Process & operator= (Process const &)=default
 
 Process (Process &&)=default
 
Process & operator= (Process &&)=default
 

Detailed Description

Interface common to all physics processes.

A process describes a way a particle's state can change at the end of a step. Most processes are interactions with matter (InteractionProcess ), whose rates come from tabulated material-dependent cross sections. Other processes, such as decay, have rates determined by the particle alone and derive directly from this class.

Constructor & Destructor Documentation

◆ Process() [1/3]

celeritas::Process::Process ( )
protecteddefault

Allow construction and assignment only through daughter classes

◆ Process() [2/3]

celeritas::Process::Process ( Process const &  )
protecteddefault

Allow construction and assignment only through daughter classes

◆ Process() [3/3]

celeritas::Process::Process ( Process &&  )
protecteddefault

Allow construction and assignment only through daughter classes

Member Function Documentation

◆ applies_at_rest()

virtual bool celeritas::Process::applies_at_rest ( ) const
pure virtual

◆ label()

virtual std::string_view celeritas::Process::label ( ) const
pure virtual

◆ operator=() [1/2]

Process & celeritas::Process::operator= ( Process &&  )
protecteddefault

Allow construction and assignment only through daughter classes

◆ operator=() [2/2]

Process & celeritas::Process::operator= ( Process const &  )
protecteddefault

Allow construction and assignment only through daughter classes


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