Chi-Tech
chi_mesh::SphereLogicalVolume Class Reference

#include <SphereLogicalVolume.h>

Inheritance diagram for chi_mesh::SphereLogicalVolume:
chi_mesh::LogicalVolume ChiObject

Public Member Functions

 SphereLogicalVolume (const chi::InputParameters &params)
 
bool Inside (const chi_mesh::Vector3 &point) const override
 
virtual bool Inside (const chi_mesh::Vector3 &point) const
 
- Public Member Functions inherited from ChiObject
 ChiObject ()
 
 ChiObject (const chi::InputParameters &params)
 
void SetStackID (size_t stack_id)
 
size_t StackID () const
 
virtual void PushOntoStack (std::shared_ptr< ChiObject > &new_object)
 
virtual ~ChiObject ()=default
 

Static Public Member Functions

static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from chi_mesh::LogicalVolume
static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from ChiObject
static chi::InputParameters GetInputParameters ()
 

Protected Attributes

double r_
 
double x0_
 
double y0_
 
double z0_
 

Additional Inherited Members

- Protected Member Functions inherited from chi_mesh::LogicalVolume
 LogicalVolume ()
 
 LogicalVolume (const chi::InputParameters &parameters)
 

Detailed Description

Spherical logical volume.

Definition at line 11 of file SphereLogicalVolume.h.

Constructor & Destructor Documentation

◆ SphereLogicalVolume()

chi_mesh::SphereLogicalVolume::SphereLogicalVolume ( const chi::InputParameters params)
explicit

Definition at line 28 of file SphereLogicalVolume.cc.

Member Function Documentation

◆ GetInputParameters()

chi::InputParameters chi_mesh::SphereLogicalVolume::GetInputParameters ( )
static

Definition at line 10 of file SphereLogicalVolume.cc.

◆ Inside()

bool chi_mesh::SphereLogicalVolume::Inside ( const chi_mesh::Vector3 point) const
overridevirtual

Reimplemented from chi_mesh::LogicalVolume.

Definition at line 38 of file SphereLogicalVolume.cc.

Field Documentation

◆ r_

double chi_mesh::SphereLogicalVolume::r_
protected

Definition at line 20 of file SphereLogicalVolume.h.

◆ x0_

double chi_mesh::SphereLogicalVolume::x0_
protected

Definition at line 21 of file SphereLogicalVolume.h.

◆ y0_

double chi_mesh::SphereLogicalVolume::y0_
protected

Definition at line 21 of file SphereLogicalVolume.h.

◆ z0_

double chi_mesh::SphereLogicalVolume::z0_
protected

Definition at line 21 of file SphereLogicalVolume.h.


The documentation for this class was generated from the following files: