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 23 of file ImplicitNeumannBC.h.

Constructor & Destructor Documentation

ImplicitNeumannBC::ImplicitNeumannBC ( const InputParameters &  parameters)

Definition at line 19 of file ImplicitNeumannBC.C.

19  : IntegratedBC(parameters)
20 {
21 }
virtual ImplicitNeumannBC::~ImplicitNeumannBC ( )
inlinevirtual

Definition at line 28 of file ImplicitNeumannBC.h.

28 {}

Member Function Documentation

Real ImplicitNeumannBC::computeQpJacobian ( )
protectedvirtual

Definition at line 30 of file ImplicitNeumannBC.C.

Referenced by ~ImplicitNeumannBC().

31 {
32  return (_grad_phi[_j][_qp] * _normals[_qp]) * _test[_i][_qp];
33 }
Real ImplicitNeumannBC::computeQpOffDiagJacobian ( unsigned  jvar)
protectedvirtual

Definition at line 36 of file ImplicitNeumannBC.C.

Referenced by ~ImplicitNeumannBC().

37 {
38  // off-diagonal derivatives are all zero.
39  return 0.;
40 }
Real ImplicitNeumannBC::computeQpResidual ( )
protectedvirtual

Definition at line 24 of file ImplicitNeumannBC.C.

Referenced by ~ImplicitNeumannBC().

25 {
26  return _grad_u[_qp] * _normals[_qp] * _test[_i][_qp];
27 }

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