A base class of user object for calculating the variable values in ghost element according to specific boundary conditions. More...
#include <BCUserObject.h>
Public Member Functions | |
BCUserObject (const InputParameters ¶meters) | |
virtual void | initialize () |
virtual void | execute () |
virtual void | finalize () |
virtual std::vector< Real > | getGhostCellValue (unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave) const =0 |
compute the ghost cell variable values More... | |
A base class of user object for calculating the variable values in ghost element according to specific boundary conditions.
Notes:
This user object is used in two places.
First, it is used in a slope reconstruction user object, in which a slope reconstruction scheme in an element adjacent to a boundary face requires adequate boundary conditions to ensure globally second-order accurate in space.
Second, it is used in a boundary flux user object, where boundary conditions are required to properly calculate the flux vector and Jacobian matrix across the boundary face.
getGhostCellValue
. Definition at line 43 of file BCUserObject.h.
BCUserObject::BCUserObject | ( | const InputParameters & | parameters | ) |
Definition at line 20 of file BCUserObject.C.
|
virtual |
Definition at line 28 of file BCUserObject.C.
|
virtual |
Definition at line 33 of file BCUserObject.C.
|
pure virtual |
compute the ghost cell variable values
[in] | iside | local index of current side |
[in] | ielem | global index of the current element |
[in] | uvec1 | vector of variables on the host side |
[in] | dwave | vector of unit normal |
|
virtual |
Definition at line 23 of file BCUserObject.C.