Update include/openmc/source.h

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Gavin Ridley 2020-03-20 12:04:35 -04:00 committed by GitHub
parent e8247b2476
commit aa47f443dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,9 +47,9 @@ public:
double strength() const { return strength_; }
// Make observing pointers available
auto space() const { return space_.get(); }
auto angle() const { return angle_.get(); }
auto energy() const { return energy_.get(); }
SpatialDistribution* space() const { return space_.get(); }
UnitSphereDistribution* angle() const { return angle_.get(); }
Distribution* energy() const { return energy_.get(); }
private:
Particle::Type particle_ {Particle::Type::neutron}; //!< Type of particle emitted