hummingbird
Solving the self-adjoint angular flux transport equation using spectral elements on Cartesian geometry
Loading...
Searching...
No Matches
hummingbird::ConstantVolumetricSource Class Reference

Defines a constant-value, isotropic volumetric source. More...

#include <constant_volumetric_source.h>

Inheritance diagram for hummingbird::ConstantVolumetricSource:
[legend]
Collaboration diagram for hummingbird::ConstantVolumetricSource:
[legend]

Public Member Functions

 ConstantVolumetricSource (const double strength)
 Construct a new Constant Volumetric Source object.
double EvaluateAtNode (const Node &node=Node(0, 0, 0, 0), const Ordinate &ordinate=Ordinate(0, 0)) override
 See SourceBase. This overridden function does not need any input parameters to be passed.
Public Member Functions inherited from hummingbird::SourceBase
 SourceBase ()=default
 Construct a new Source Base object.
virtual ~SourceBase ()=default
 Destroy the Source Base object.

Private Attributes

const double strength_
 Isotropic source strength.

Detailed Description

Defines a constant-value, isotropic volumetric source.

Definition at line 14 of file constant_volumetric_source.h.

Constructor & Destructor Documentation

◆ ConstantVolumetricSource()

hummingbird::ConstantVolumetricSource::ConstantVolumetricSource ( const double strength)

Construct a new Constant Volumetric Source object.

Parameters
strengthIsotropic source strength

Definition at line 6 of file constant_volumetric_source.cc.

Member Function Documentation

◆ EvaluateAtNode()

double hummingbird::ConstantVolumetricSource::EvaluateAtNode ( const Node & node = Node(0, 0, 0, 0),
const Ordinate & ordinate = Ordinate(0, 0) )
overridevirtual

See SourceBase. This overridden function does not need any input parameters to be passed.

Implements hummingbird::SourceBase.

Definition at line 9 of file constant_volumetric_source.cc.

Member Data Documentation

◆ strength_

const double hummingbird::ConstantVolumetricSource::strength_
private

Isotropic source strength.

Definition at line 33 of file constant_volumetric_source.h.


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