Steady-state solution to Laplacian diffusion in an anular domain (for verification testing). More...
#include <Spacetime_func.hpp>
Public Member Functions | |
| Annular_diffusion_test (double value_scalar, double radius_scalar, double energy) | |
| std::vector< double > | operator() (std::vector< double > pos, double time) const override |
Public Member Functions inherited from hexed::State_from_spacetime | |
| int | n_var (int n_dim) const override |
number of output variables when called on n_dim-dimensional input | |
| std::string | variable_name (int n_dim, int i_var) const override |
name of i_varth variable (for plotting) when called on n_dim-dimensional input | |
Public Member Functions inherited from hexed::Spacetime_func | |
| std::vector< double > | operator() (std::vector< double > pos, double time, std::vector< double > state) const override |
Public Member Functions inherited from hexed::Domain_func | |
| std::vector< double > | operator() (Element &, const Basis &, int i_qpoint, double time) const override |
| std::vector< double > | operator() (std::vector< double > pos, double time, std::vector< double > state, std::vector< double > outward_normal) const override |
normal is surface unit normal vector pointing out of the surface (into the domain). | |
Public Member Functions inherited from hexed::Surface_func | |
| std::vector< double > | operator() (Boundary_connection &, int i_fqpoint, double time) const override |
Steady-state solution to Laplacian diffusion in an anular domain (for verification testing).
Velocity is uniformly zero, total energy is uniform, and mass is proportional to log of distance from origin.
| hexed::Annular_diffusion_test::Annular_diffusion_test | ( | double | value_scalar, |
| double | radius_scalar, | ||
| double | energy ) |
mass = value_scalar*std::log(radius/radius_scalar)
|
overridevirtual |
Implements hexed::Spacetime_func.