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