ABLATE Source Documentation  0.12.34
cylinderShell.hpp
1 #ifndef ABLATELIBRARY_CYLINDERSHELL_HPP
2 #define ABLATELIBRARY_CYLINDERSHELL_HPP
3 
4 #include "geometry.hpp"
5 namespace ablate::mathFunctions::geom {
6 
7 class CylinderShell : public Geometry {
8  private:
9  const std::vector<double> start;
10  const std::vector<double> end;
11  const double radiusMin;
12  const double radiusMax;
13 
14  public:
15  CylinderShell(std::vector<double> start, std::vector<double> end, double radiusMin, double radiusMax, const std::shared_ptr<mathFunctions::MathFunction>& insideValues = {},
16  const std::shared_ptr<mathFunctions::MathFunction>& outsideValues = {});
17 
18  bool InsideGeometry(const double* xyz, const int& ndims, const double& time) const override;
19 };
20 
21 } // namespace ablate::mathFunctions::geom
22 #endif // ABLATELIBRARY_SPHERE_HPP
Definition: cylinderShell.hpp:7
bool InsideGeometry(const double *xyz, const int &ndims, const double &time) const override
Definition: cylinderShell.cpp:16
Definition: geometry.hpp:9