LineMesh

class LineMesh : public godzilla::MeshObject

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