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 _kij(other_mesh._kij),
30 _assembly_pitch(other_mesh._assembly_pitch),
31 _assembly_side_x(other_mesh._assembly_side_x),
32 _assembly_side_y(other_mesh._assembly_side_y),
33 _n_cells(other_mesh._n_cells)
40 Real unheated_length_exit,
42 std::vector<Real> & z_grid)
44 Real L = unheated_length_entry + heated_length + unheated_length_exit;
46 for (
unsigned int i = 0; i <
n_cells + 1; i++)
47 z_grid.push_back(dz * i);
62 unsigned int hi =
_z_grid.size();
65 unsigned int mid = (lo + hi) / 2;
66 if (std::abs(
_z_grid[mid] - point(2)) < 1e-5)
68 else if (
_z_grid[mid] < point(2))
static InputParameters validParams()
std::vector< Real > _z_grid
axial location of nodes
static InputParameters validParams()
Base class for inter-wrapper meshes.
InterWrapperMesh(const InputParameters ¶meters)
virtual unsigned int getZIndex(const Point &point) const
Get axial index of point.
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 unheated lengths.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const