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
6
namespace
chi_mesh
7
{
8
9
// ###################################################################
10
/**Spherical logical volume.*/
11
class
SphereLogicalVolume
:
public
LogicalVolume
12
{
13
public
:
14
static
chi::InputParameters
GetInputParameters
();
15
explicit
SphereLogicalVolume
(
const
chi::InputParameters
& params);
16
17
bool
Inside
(
const
chi_mesh::Vector3
& point)
const override
;
18
19
protected
:
20
double
r_
;
21
double
x0_
,
y0_
,
z0_
;
22
};
23
24
}
// namespace chi_mesh
25
26
#endif
// CHITECH_SPHERELOGICALVOLUME_H
LogicalVolume.h
chi::InputParameters
Definition:
input_parameters.h:23
chi_mesh::LogicalVolume
Definition:
LogicalVolume.h:16
chi_mesh::SphereLogicalVolume
Definition:
SphereLogicalVolume.h:12
chi_mesh::SphereLogicalVolume::x0_
double x0_
Definition:
SphereLogicalVolume.h:21
chi_mesh::SphereLogicalVolume::z0_
double z0_
Definition:
SphereLogicalVolume.h:21
chi_mesh::SphereLogicalVolume::r_
double r_
Definition:
SphereLogicalVolume.h:20
chi_mesh::SphereLogicalVolume::GetInputParameters
static chi::InputParameters GetInputParameters()
Definition:
SphereLogicalVolume.cc:10
chi_mesh::SphereLogicalVolume::Inside
bool Inside(const chi_mesh::Vector3 &point) const override
Definition:
SphereLogicalVolume.cc:38
chi_mesh::SphereLogicalVolume::SphereLogicalVolume
SphereLogicalVolume(const chi::InputParameters ¶ms)
Definition:
SphereLogicalVolume.cc:28
chi_mesh::SphereLogicalVolume::y0_
double y0_
Definition:
SphereLogicalVolume.h:21
chi_mesh
Definition:
chi_runtime.h:13
chi_mesh::Vector3
Definition:
chi_meshvector.h:19
framework
mesh
LogicalVolume
SphereLogicalVolume.h
Generated by
1.9.3