LineMesh
Parameters
- Required:
app (godzilla::App*) - Application we are part of
nx (Integer) - Number of mesh points in the x direction
- Optional:
name (String) - Name of the object
xmax (Real) - Maximum in the x direction
xmin (Real) - Minimum in the x direction
-
class LineMesh : public godzilla::Object
1D line
Public Functions
-
Real get_x_min() const
Get the lower bound in x-direction.
- Returns:
Lower bound in x-direction
-
Real get_x_max() const
Get the upper bound in x-direction.
- Returns:
Upper bound in x-direction
-
Int get_nx() const
Get the number of divisions in the x-direction.
- Returns:
Number of divisions in the x-direction
-
Real get_x_min() const