CellModules
BodySpheroidManager.hpp
Go to the documentation of this file.
1#ifndef BODYSPHEROIDMANAGER_HPP
2#define BODYSPHEROIDMANAGER_HPP
3
4#include "../../../../src/core/BaseBody.hpp"
5
17namespace SpheroidManager {
18
26 template<typename cell_t, class plugin_t>
27 class BodySpheroidManager : public virtual BaseBody<plugin_t> {
28
29 private:
32 public:
33
37 inline BodySpheroidManager() = default;
38
45
51 inline void setDistanceFromCentroid(double d) { distanceFromCentroid = d; }
52
53 };
54
55}
56
57#endif // BODYSPHEROIDMANAGER_HPP
Class for managing spheroid bodies.
double getDistanceFromCentroid()
Gets the distance from the centroid.
void setDistanceFromCentroid(double d)
Sets the distance from the centroid.
BodySpheroidManager()=default
Default constructor.
Namespace for spheroid manager-related classes and functions.