29 virtual const std::vector<ADReal> &
getFlux(
const unsigned int & connection_index)
const = 0;
57 std::map<std::pair<const Elem *, const unsigned short int>,
unsigned int>
Provides common interfaces for flow junction user objects.
unsigned int getBoundaryIDIndex()
Gets the index of the currently executing boundary within the vector of boundary IDs given to this Si...
unsigned int getNumberOfConnections() const
Gets the number of connected flow channels.
static InputParameters validParams()
const unsigned int _n_bnd_ids
const std::vector< BoundaryID > _bnd_ids_vector
Vector of boundary IDs for this side user object; note that BoundaryRestrictable stores these same bo...
std::vector< unsigned int > _processor_ids
Owners of each side of the junction.
const unsigned int _n_connections
Number of connected flow channels.
std::map< std::pair< const Elem *, const unsigned short int >, unsigned int > _elem_side_to_bnd_id_index
virtual void finalize() override
virtual const std::vector< ADReal > & getFlux(const unsigned int &connection_index) const =0
Gets the flux vector for a connection.
const std::vector< Real > & _normal
Flow channel outward normals or junction inward normals.
void checkValidConnectionIndex(const unsigned int &connection_index) const
Checks that a connection index is valid.
const MaterialProperty< RealVectorValue > & _dir
Direction of the element connected to the junction.
const InputParameters & parameters() const