File generator_context.hxx#
-
namespace bout
Information about the version of BOUT++
The build system will update this file on every commit, which may result in files that include it getting rebuilt. Therefore it should be included in as few places as possible
Information about the version of BOUT++
The build system will update this file at configure-time
Explicit inversion of a 3x3 matrix
aIf the matrix is singular (ill conditioned), the determinant is return. Otherwise, an empty
std::optionalis return-
namespace generator#
-
class Context#
Public Functions
-
template<IND_TYPE N>
inline Context(const SpecificInd<N> &i, CELL_LOC loc, Mesh *msh, BoutReal t)# Set using an index. Can be Ind2D, Ind3D or IndPerp.
-
Context(int ix, int iy, int iz, CELL_LOC loc, Mesh *msh, BoutReal t)#
Specify a cell index, together with the cell location, mesh and time
-
Context() = default#
If constructed without parameters, contains no values (null). Requesting x,y,z or t throws an exception
-
Context(const BoundaryRegion *bndry, int iz, CELL_LOC loc, BoutReal t, Mesh *msh)#
The location on the boundary.
-
inline Context(const BoundaryRegion *bndry, CELL_LOC loc, BoutReal t, Mesh *msh)#
-
inline Context &set(const std::string &name, BoutReal value)#
Set the value of a parameter with given name.
-
template<typename ...Args>
inline Context &set(const std::string &name, BoutReal value, Args... args)# Set multiple values, by passing alternating strings and values
eg. set(“x”, 1, “y”, 2)
-
inline Mesh *getMesh() const#
Get the mesh for this context (position) If the mesh is null this will throw a BoutException (if CHECK >= 1)
-
template<IND_TYPE N>
-
class Context#
-
namespace generator#