mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
changed theta to cos_theta in .h file
This commit is contained in:
parent
021215a2b9
commit
b9b119bc73
1 changed files with 6 additions and 6 deletions
|
|
@ -70,7 +70,7 @@ private:
|
|||
};
|
||||
|
||||
//==============================================================================
|
||||
//! Distribution of points specified by spherical coordinates r,theta,phi
|
||||
//! Distribution of points specified by spherical coordinates r,cos_theta,phi
|
||||
//==============================================================================
|
||||
|
||||
class SphericalIndependent : public SpatialDistribution {
|
||||
|
|
@ -83,15 +83,15 @@ public:
|
|||
Position sample(uint64_t* seed) const;
|
||||
|
||||
Distribution* r() const { return r_.get(); }
|
||||
Distribution* theta() const { return theta_.get(); }
|
||||
Distribution* cos_theta() const { return cos_theta_.get(); }
|
||||
Distribution* phi() const { return phi_.get(); }
|
||||
Position origin() const { return origin_; }
|
||||
|
||||
private:
|
||||
UPtrDist r_; //!< Distribution of r coordinates
|
||||
UPtrDist theta_; //!< Distribution of theta coordinates
|
||||
UPtrDist phi_; //!< Distribution of phi coordinates
|
||||
Position origin_; //!< Cartesian coordinates of the sphere center
|
||||
UPtrDist r_; //!< Distribution of r coordinates
|
||||
UPtrDist cos_theta_; //!< Distribution of cos_theta coordinates
|
||||
UPtrDist phi_; //!< Distribution of phi coordinates
|
||||
Position origin_; //!< Cartesian coordinates of the sphere center
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue