Cardinal
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
HexagonalSubchannelMeshBase Class Reference

#include <HexagonalSubchannelMeshBase.h>

Inheritance diagram for HexagonalSubchannelMeshBase:
[legend]

Public Member Functions

 HexagonalSubchannelMeshBase (const InputParameters &parameters)
 
 HexagonalSubchannelMeshBase (const HexagonalSubchannelMeshBase &)=default
 
HexagonalSubchannelMeshBaseoperator= (const HexagonalSubchannelMeshBase &other_mesh)=delete
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

const Point rotatePoint (const Point &p, const Real &theta) const
 

Protected Attributes

const Real & _bundle_pitch
 Bundle pitch (distance across bundle measured flat-to-flat on the inside of the duct) More...
 
const Real & _pin_pitch
 Pin pitch. More...
 
const Real & _pin_diameter
 Pin diameter. More...
 
const unsigned int & _n_rings
 Total number of rings of pins. More...
 
const unsigned int _axis
 Vertical axis of the bundle along which the pins are aligned. More...
 
HexagonalLatticeUtils _hex_lattice
 Utility providing hexagonal lattice geometry calculations. More...
 
const std::vector< Point > & _pin_centers
 Coordinates for the pin centers. More...
 
int _elem_id_counter
 Element ID. More...
 
int _node_id_counter
 Node ID. More...
 

Static Protected Attributes

static const Real SIN30 = 0.5
 
static const Real COS30 = std::sqrt(3.0) / 2.0
 
static const unsigned int NODES_PER_PRISM = 6
 Number of nodes per prism6 element. More...
 
static const unsigned int NUM_SIDES = 6
 Number of sides in a hexagon. More...
 

Detailed Description

Base class for creating meshes related to subchannel discretizations in a hexagonal lattice.

Constructor & Destructor Documentation

◆ HexagonalSubchannelMeshBase() [1/2]

HexagonalSubchannelMeshBase::HexagonalSubchannelMeshBase ( const InputParameters &  parameters)

◆ HexagonalSubchannelMeshBase() [2/2]

HexagonalSubchannelMeshBase::HexagonalSubchannelMeshBase ( const HexagonalSubchannelMeshBase )
default

Member Function Documentation

◆ operator=()

HexagonalSubchannelMeshBase& HexagonalSubchannelMeshBase::operator= ( const HexagonalSubchannelMeshBase other_mesh)
delete

◆ rotatePoint()

const Point HexagonalSubchannelMeshBase::rotatePoint ( const Point &  p,
const Real &  theta 
) const
protected

Rotate a point counterclockwise about the z axis

Parameters
[in]ppoint
[in]thetaangle (radians) by which to rotate
Returns
rotated point

◆ validParams()

InputParameters HexagonalSubchannelMeshBase::validParams ( )
static

Member Data Documentation

◆ _axis

const unsigned int HexagonalSubchannelMeshBase::_axis
protected

Vertical axis of the bundle along which the pins are aligned.

◆ _bundle_pitch

const Real& HexagonalSubchannelMeshBase::_bundle_pitch
protected

Bundle pitch (distance across bundle measured flat-to-flat on the inside of the duct)

◆ _elem_id_counter

int HexagonalSubchannelMeshBase::_elem_id_counter
protected

Element ID.

◆ _hex_lattice

HexagonalLatticeUtils HexagonalSubchannelMeshBase::_hex_lattice
protected

Utility providing hexagonal lattice geometry calculations.

◆ _n_rings

const unsigned int& HexagonalSubchannelMeshBase::_n_rings
protected

Total number of rings of pins.

◆ _node_id_counter

int HexagonalSubchannelMeshBase::_node_id_counter
protected

Node ID.

◆ _pin_centers

const std::vector<Point>& HexagonalSubchannelMeshBase::_pin_centers
protected

Coordinates for the pin centers.

◆ _pin_diameter

const Real& HexagonalSubchannelMeshBase::_pin_diameter
protected

Pin diameter.

◆ _pin_pitch

const Real& HexagonalSubchannelMeshBase::_pin_pitch
protected

Pin pitch.

◆ COS30

const Real HexagonalSubchannelMeshBase::COS30 = std::sqrt(3.0) / 2.0
staticprotected

◆ NODES_PER_PRISM

const unsigned int HexagonalSubchannelMeshBase::NODES_PER_PRISM = 6
staticprotected

Number of nodes per prism6 element.

◆ NUM_SIDES

const unsigned int HexagonalSubchannelMeshBase::NUM_SIDES = 6
staticprotected

Number of sides in a hexagon.

◆ SIN30

const Real HexagonalSubchannelMeshBase::SIN30 = 0.5
staticprotected

The documentation for this class was generated from the following files: