https://mooseframework.inl.gov
MassFreeConstraint.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 "NodalConstraint.h"
13 
18 {
19 public:
21 
22  virtual void computeResidual(NumericVector<Number> & residual) override;
24  virtual void computeJacobian(SparseMatrix<Number> & jacobian) override;
26 
27 protected:
30 
31  std::vector<Real> _normals;
33 
34  unsigned int _rhouA_var_number;
35 
36 public:
38 };
ConstraintType
unsigned int _rhouA_var_number
Free BC for the mass equation.
virtual void computeResidual() override final
virtual Real computeQpResidual(Moose::ConstraintType type) override
const std::string & type() const
virtual Real computeQpJacobian(Moose::ConstraintJacobianType type) override
OutputTools< Real >::VariableValue VariableValue
const VariableValue & _rhouA
virtual void computeJacobian() override final
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ConstraintJacobianType
MassFreeConstraint(const InputParameters &parameters)
const InputParameters & parameters() const
std::vector< Real > _normals
static InputParameters validParams()