# | Line 41 | Line 41 | |
---|---|---|
41 | #ifndef APPLICATIONS_STATICPROPS_GOFR_HPP | |
42 | #define APPLICATIONS_STATICPROPS_GOFR_HPP | |
43 | ||
44 | < | #include "application/staticProps/RadialDistrFunc.hpp" |
44 | > | #include "applications/staticProps/RadialDistrFunc.hpp" |
45 | namespace oopse { | |
46 | ||
47 | class GofR : public RadialDistrFunc { | |
# | Line 61 | Line 61 | class GofR : public RadialDistrFunc { | |
61 | int getNRBins() { | |
62 | return nRBins_; | |
63 | } | |
64 | + | |
65 | + | void setLength(double len) { |
66 | + | len_ = len; |
67 | + | deltaR_ = len_ /nRBins_; |
68 | + | } |
69 | + | |
70 | + | double getLength() { |
71 | + | return len_; |
72 | + | } |
73 | ||
74 | private: | |
75 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |