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