20 "Base class for a one-dimensional heat flux term in an energy equation");
22 "q_uo",
"The name of the user object that computed the heat flux");
28 _phi_neighbor(_assembly.phiNeighbor(_var)),
57 for (std::size_t i = 0; i < var_names.size(); i++)
60 unsigned int jvar_num = jvar.
number();
void setCurrentNeighborSubdomainID(SubdomainID i)
void reinitNeighborAtPhysical(const Elem *neighbor, unsigned int neighbor_side, const std::vector< Point > &physical_points)
void copyNeighborShapes(MooseVariableField< T > &v)
virtual const MooseVariableFieldBase & getVariable(const THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type=Moose::VarKindType::VAR_ANY, Moose::VarFieldType expected_var_field_type=Moose::VarFieldType::VAR_FIELD_ANY) const override
static const std::string TEMPERATURE
Base class for caching heat flux between a flow channel and a heat structure.
const dof_id_type & getNearestElem(dof_id_type elem_id) const
Get the nearest element ID for given element ID.
const MooseArray< Real > & _coord
const MooseArray< Point > & _q_point
const MooseArray< Real > & _JxW
const Elem *const & _current_elem
const QBase *const & _qrule
virtual void computeOffDiagJacobian(unsigned int jvar) override
virtual void computeJacobian() override
const VariableTestValue & _test
static InputParameters validParams()
std::vector< T > stdVector() const
virtual Elem * elemPtr(const dof_id_type i)
void scalingFactor(const std::vector< Real > &factor)
unsigned int number() const
const std::vector< dof_id_type > & dofIndices() const final
virtual void prepareNeighbor()=0
virtual const std::vector< dof_id_type > & dofIndicesNeighbor() const=0
virtual std::size_t phiNeighborSize() const=0
const HeatFluxFromHeatStructureBaseUserObject & _q_uo
User object that computes the heat flux.
static InputParameters validParams()
OneDHeatFluxBase(const InputParameters ¶meters)
virtual void computeJacobian() override
virtual void computeOffDiagJacobian(unsigned jvar) override
virtual Real computeQpOffDiagJacobianNeighbor(unsigned int jvar)=0
FEProblemBase & _fe_problem
void addJacobian(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)