Chi-Tech
RCCLogicalVolume.h
Go to the documentation of this file.
1#ifndef CHITECH_RCCLOGICALVOLUME_H
2#define CHITECH_RCCLOGICALVOLUME_H
3
4#include "LogicalVolume.h"
5
6namespace chi_mesh
7{
8
9// ###################################################################
10/**Right Circular Cylinder (RCC) logical volume.
11 *
12 * Determining whether a point is within an RCC is tricky.
13 * */
15{
16public:
18 explicit RCCLogicalVolume(const chi::InputParameters& params);
19
20 bool Inside(const chi_mesh::Vector3& point) const override;
21
22protected:
23 double r_;
24 double x0_, y0_, z0_;
25 double vx_, vy_, vz_;
26};
27
28} // namespace chi_mesh
29
30#endif // CHITECH_RCCLOGICALVOLUME_H
bool Inside(const chi_mesh::Vector3 &point) const override
static chi::InputParameters GetInputParameters()
RCCLogicalVolume(const chi::InputParameters &params)