Chi-Tech
LogicalVolume.h
Go to the documentation of this file.
1#ifndef CHI_MESH_LOGICALVOLUME_H
2#define CHI_MESH_LOGICALVOLUME_H
3
4#include "ChiObject.h"
5
6#include "../chi_mesh.h"
7#include <chi_log.h>
8#include <array>
9
10namespace chi_mesh
11{
12
13// ###################################################################
14/** Class for defining base logical volumes.*/
16{
17public:
19
20 virtual bool Inside(const chi_mesh::Vector3& point) const { return false; }
21
22protected:
23 explicit LogicalVolume() : ChiObject() {}
24 explicit LogicalVolume(const chi::InputParameters& parameters);
25};
26
27} // namespace chi_mesh
28
29#endif // CHI_MESH_LOGICALVOLUME_H
static chi::InputParameters GetInputParameters()
Definition: LogicalVolume.cc:6
virtual bool Inside(const chi_mesh::Vector3 &point) const
Definition: LogicalVolume.h:20