Chi-Tech
SphereLogicalVolume.h
Go to the documentation of this file.
1#ifndef CHITECH_SPHERELOGICALVOLUME_H
2#define CHITECH_SPHERELOGICALVOLUME_H
3
4#include "LogicalVolume.h"
5
6namespace chi_mesh
7{
8
9// ###################################################################
10/**Spherical logical volume.*/
12{
13public:
15 explicit SphereLogicalVolume(const chi::InputParameters& params);
16
17 bool Inside(const chi_mesh::Vector3& point) const override;
18
19protected:
20 double r_;
21 double x0_, y0_, z0_;
22};
23
24} // namespace chi_mesh
25
26#endif // CHITECH_SPHERELOGICALVOLUME_H
static chi::InputParameters GetInputParameters()
bool Inside(const chi_mesh::Vector3 &point) const override
SphereLogicalVolume(const chi::InputParameters &params)