https://mooseframework.inl.gov
TestBoundaryFlux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "BoundaryFluxBase.h"
13 
18 {
19 public:
21 
23 
24  virtual void calcFlux(unsigned int iside,
25  dof_id_type ielem,
26  const std::vector<Real> & uvec1,
27  const RealVectorValue & dwave,
28  std::vector<Real> & flux) const override;
29 
30  virtual void calcJacobian(unsigned int iside,
31  dof_id_type ielem,
32  const std::vector<Real> & uvec1,
33  const RealVectorValue & dwave,
34  DenseMatrix<Real> & jac1) const override;
35 };
virtual void calcJacobian(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, DenseMatrix< Real > &jac1) const override
Compute the Jacobian matrix on the boundary face.
virtual void calcFlux(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, std::vector< Real > &flux) const override
Solve the Riemann problem on the boundary face.
static InputParameters validParams()
A base class for computing/caching fluxes at boundaries.
const InputParameters & parameters() const
TestBoundaryFlux(const InputParameters &parameters)
Boundary flux used for testing.
uint8_t dof_id_type