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
6
namespace
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
* */
14
class
RCCLogicalVolume
:
public
LogicalVolume
15
{
16
public
:
17
static
chi::InputParameters
GetInputParameters
();
18
explicit
RCCLogicalVolume
(
const
chi::InputParameters
& params);
19
20
bool
Inside
(
const
chi_mesh::Vector3
& point)
const override
;
21
22
protected
:
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
LogicalVolume.h
chi::InputParameters
Definition:
input_parameters.h:23
chi_mesh::LogicalVolume
Definition:
LogicalVolume.h:16
chi_mesh::RCCLogicalVolume
Definition:
RCCLogicalVolume.h:15
chi_mesh::RCCLogicalVolume::vx_
double vx_
Definition:
RCCLogicalVolume.h:25
chi_mesh::RCCLogicalVolume::x0_
double x0_
Definition:
RCCLogicalVolume.h:24
chi_mesh::RCCLogicalVolume::Inside
bool Inside(const chi_mesh::Vector3 &point) const override
Definition:
RCCLogicalVolume.cc:42
chi_mesh::RCCLogicalVolume::y0_
double y0_
Definition:
RCCLogicalVolume.h:24
chi_mesh::RCCLogicalVolume::GetInputParameters
static chi::InputParameters GetInputParameters()
Definition:
RCCLogicalVolume.cc:10
chi_mesh::RCCLogicalVolume::r_
double r_
Definition:
RCCLogicalVolume.h:23
chi_mesh::RCCLogicalVolume::vz_
double vz_
Definition:
RCCLogicalVolume.h:25
chi_mesh::RCCLogicalVolume::RCCLogicalVolume
RCCLogicalVolume(const chi::InputParameters ¶ms)
Definition:
RCCLogicalVolume.cc:30
chi_mesh::RCCLogicalVolume::vy_
double vy_
Definition:
RCCLogicalVolume.h:25
chi_mesh::RCCLogicalVolume::z0_
double z0_
Definition:
RCCLogicalVolume.h:24
chi_mesh
Definition:
chi_runtime.h:13
chi_mesh::Vector3
Definition:
chi_meshvector.h:19
framework
mesh
LogicalVolume
RCCLogicalVolume.h
Generated by
1.9.3