www.mooseframework.org
BCUserObject.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef BCUSEROBJECT_H
9 #define BCUSEROBJECT_H
10 
11 #include "GeneralUserObject.h"
12 
13 class BCUserObject;
14 
15 template <>
16 InputParameters validParams<BCUserObject>();
17 
42 class BCUserObject : public GeneralUserObject
43 {
44 public:
45  BCUserObject(const InputParameters & parameters);
46 
47  virtual void initialize();
48  virtual void execute();
49  virtual void finalize();
50 
58  virtual std::vector<Real> getGhostCellValue(unsigned int iside,
59  dof_id_type ielem,
60  const std::vector<Real> & uvec1,
61  const RealVectorValue & dwave) const = 0;
62 };
63 
64 #endif // BCUSEROBJECT_H
BCUserObject(const InputParameters &parameters)
Definition: BCUserObject.C:18
virtual void finalize()
Definition: BCUserObject.C:31
InputParameters validParams< BCUserObject >()
Definition: BCUserObject.C:12
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
A base class of user object for calculating the variable values in ghost element according to specifi...
Definition: BCUserObject.h:42
virtual void execute()
Definition: BCUserObject.C:26
virtual void initialize()
Definition: BCUserObject.C:21