24 _unheated_length_entry(other_mesh._unheated_length_entry),
25 _heated_length(other_mesh._heated_length),
26 _unheated_length_exit(other_mesh._unheated_length_exit),
27 _z_grid(other_mesh._z_grid),
28 _k_grid(other_mesh._k_grid),
29 _spacer_z(other_mesh._spacer_z),
30 _spacer_k(other_mesh._spacer_k),
31 _kij(other_mesh._kij),
32 _pitch(other_mesh._pitch),
33 _pin_diameter(other_mesh._pin_diameter),
34 _n_cells(other_mesh._n_cells)
41 Real unheated_length_exit,
43 std::vector<Real> & z_grid)
45 Real L = unheated_length_entry + heated_length + unheated_length_exit;
47 for (
unsigned int i = 0; i <
n_cells + 1; i++)
48 z_grid.push_back(dz * i);
63 unsigned int hi =
_z_grid.size();
66 unsigned int mid = (lo + hi) / 2;
67 if (std::abs(
_z_grid[mid] - point(2)) < 1e-5)
69 else if (
_z_grid[mid] < point(2))
static InputParameters validParams()
static InputParameters validParams()
std::vector< Real > _z_grid
axial location of nodes
static void generateZGrid(Real unheated_length_entry, Real heated_length, Real unheated_length_exit, unsigned int n_cells, std::vector< Real > &z_grid)
Generate the spacing in z-direction using heated and unteaded lengths.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
Base class for subchannel meshes.
virtual unsigned int getZIndex(const Point &point) const
Get axial index of point.
SubChannelMesh(const InputParameters ¶meters)