Class SourceUniformBox
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
Class Documentation
-
class SourceUniformBox : public SourceFeature
Uniform random source positions inside a box. The box is aligned with the coordinate axes.
Public Functions
-
SourceUniformBox(Vector3d origin, Vector3d size)
Constructor
- Parameters:
origin – vector corresponding to the lower box corner
size – vector corresponding to the box sizes along each direction
-
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
-
SourceUniformBox(Vector3d origin, Vector3d size)