Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
Substeps Struct Reference

#include <G4QSSubstepStruct.hh>

Public Member Functions

 Substeps ()
 ~Substeps ()
void * safe_reallocarray (void *ptr, size_t numMembers, size_t size)
void resize ()
Substepcreate_substep ()
void save_substep (Substep *substep)
void reset ()

Public Attributes

G4int _arrlength = 30
Substep_substeps = nullptr
G4int current_substep_index = -1

Detailed Description

Definition at line 66 of file G4QSSubstepStruct.hh.

Constructor & Destructor Documentation

◆ Substeps()

Substeps::Substeps ( )

◆ ~Substeps()

Substeps::~Substeps ( )

Member Function Documentation

◆ create_substep()

Substep * Substeps::create_substep ( )
inline

◆ reset()

void Substeps::reset ( )
inline

◆ resize()

void Substeps::resize ( )
inline

◆ safe_reallocarray()

void * Substeps::safe_reallocarray ( void * ptr,
size_t numMembers,
size_t size )

Mimics the functionality of GNU method reallocarray.

◆ save_substep()

void Substeps::save_substep ( Substep * substep)
inline

Member Data Documentation

◆ _arrlength

G4int Substeps::_arrlength = 30

Definition at line 68 of file G4QSSubstepStruct.hh.

◆ _substeps

Substep* Substeps::_substeps = nullptr

Definition at line 69 of file G4QSSubstepStruct.hh.

◆ current_substep_index

G4int Substeps::current_substep_index = -1

Definition at line 70 of file G4QSSubstepStruct.hh.


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