www.mooseframework.org
Public Member Functions | Protected Member Functions | List of all members
ImplicitNeumannBC Class Reference

This class implements a form of the Neumann boundary condition in which the boundary term is treated "implicitly". More...

#include <ImplicitNeumannBC.h>

Inheritance diagram for ImplicitNeumannBC:
[legend]

Public Member Functions

 ImplicitNeumannBC (const InputParameters &parameters)
 
virtual ~ImplicitNeumannBC ()
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 
virtual Real computeQpOffDiagJacobian (unsigned jvar)
 

Detailed Description

This class implements a form of the Neumann boundary condition in which the boundary term is treated "implicitly".

This concept is discussed by Griffiths, Papanastiou, and others.

Definition at line 26 of file ImplicitNeumannBC.h.

Constructor & Destructor Documentation

◆ ImplicitNeumannBC()

ImplicitNeumannBC::ImplicitNeumannBC ( const InputParameters &  parameters)

Definition at line 24 of file ImplicitNeumannBC.C.

24  : IntegratedBC(parameters)
25 {
26 }

◆ ~ImplicitNeumannBC()

virtual ImplicitNeumannBC::~ImplicitNeumannBC ( )
inlinevirtual

Definition at line 31 of file ImplicitNeumannBC.h.

31 {}

Member Function Documentation

◆ computeQpJacobian()

Real ImplicitNeumannBC::computeQpJacobian ( )
protectedvirtual

Definition at line 35 of file ImplicitNeumannBC.C.

36 {
37  return (_grad_phi[_j][_qp] * _normals[_qp]) * _test[_i][_qp];
38 }

◆ computeQpOffDiagJacobian()

Real ImplicitNeumannBC::computeQpOffDiagJacobian ( unsigned  jvar)
protectedvirtual

Definition at line 41 of file ImplicitNeumannBC.C.

42 {
43  // off-diagonal derivatives are all zero.
44  return 0.;
45 }

◆ computeQpResidual()

Real ImplicitNeumannBC::computeQpResidual ( )
protectedvirtual

Definition at line 29 of file ImplicitNeumannBC.C.

30 {
31  return _grad_u[_qp] * _normals[_qp] * _test[_i][_qp];
32 }

The documentation for this class was generated from the following files: