Class SourceDensityGrid
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
Class Documentation
-
class SourceDensityGrid : public SourceFeature
Random source positions from a density grid.
Public Functions
-
SourceDensityGrid(ref_ptr<Grid1f> densityGrid)
Constructor
- Parameters:
densityGrid – 3D grid containing the density of sources in each cell
-
virtual void prepareParticle(ParticleState &particle) const
-
void setDescription()
-
std::string getDescription() const
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
-
SourceDensityGrid(ref_ptr<Grid1f> densityGrid)