hummingbird
Solving the self-adjoint angular flux transport equation using spectral elements on Cartesian geometry
Loading...
Searching...
No Matches
constant_volumetric_source.cc
Go to the documentation of this file.
2
3#include <cmath>
4
5namespace hummingbird {
7 : strength_(strength) {}
8
10 const Ordinate& ordinate) {
11 return strength_ / 4.0 / M_PI;
12}
13} // namespace hummingbird
const double strength_
Isotropic source strength.
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.
Defines a solid angle, or ordinate, in spherical geometry.
Definition ordinate.h:15
A point in the mesh holding its coordinates, boundary info, and flux solution values.
Definition node.h:26