Refineable version of the OneDMesh. More...
#include <one_d_mesh.h>
Public Member Functions | |
RefineableOneDMesh (const unsigned &n_element, const double &length, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass number of elements, n_element, length of domain, length, and pointer to timestepper (defaults to Steady) | |
RefineableOneDMesh (const unsigned &n_element, const double &xmin, const double &xmax, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor that allows the specification of minimum and maximum values of x coordinates. Also pass pointer to timestepper (defaults to Steady). | |
![]() | |
OneDMesh (const unsigned &n_element, const double &length, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass number of elements, n_element, length of domain, length, and pointer to timestepper (defaults to a Steady timestepper so we don't need to specify one in problems without time-dependence). | |
OneDMesh (const unsigned &n_element, const double &xmin, const double &xmax, TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) | |
Constructor: Pass number of elements, n_element, minimum coordinate, xmin, maximum coordinate, xmax, and a pointer to a timestepper. | |
Additional Inherited Members | |
![]() | |
void | check_1d () const |
Mesh can only be built with 1D elements (but can be either T or Q so can't use the normal assert_geometric_element function. | |
void | build_mesh (TimeStepper *time_stepper_pt=&Mesh::Default_TimeStepper) |
Generic mesh constuction routine, called by all constructors. | |
![]() | |
double | Xmin |
Minimum coordinate. | |
double | Xmax |
Maximum coordinate. | |
double | Length |
Length of the domain. | |
unsigned | N |
Number of elements. | |
Refineable version of the OneDMesh.
Definition at line 120 of file one_d_mesh.h.
|
inline |
Constructor: Pass number of elements, n_element, length of domain, length, and pointer to timestepper (defaults to Steady)
Definition at line 126 of file one_d_mesh.h.
|
inline |
Constructor that allows the specification of minimum and maximum values of x coordinates. Also pass pointer to timestepper (defaults to Steady).
Definition at line 140 of file one_d_mesh.h.