www.mooseframework.org
InternalSideUserObject.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef INTERNALSIDEUSEROBJECT_H
16 #define INTERNALSIDEUSEROBJECT_H
17 
18 #include "UserObject.h"
19 #include "BlockRestrictable.h"
20 #include "NeighborCoupleable.h"
23 #include "UserObjectInterface.h"
24 #include "TransientInterface.h"
25 #include "PostprocessorInterface.h"
26 #include "ZeroInterface.h"
27 
29 
30 template <>
32 
37  public BlockRestrictable,
39  public NeighborCoupleable,
41  public UserObjectInterface,
42  public TransientInterface,
44  public ZeroInterface
45 {
46 public:
48 
49 protected:
51 
53  QBase *& _qrule;
57 
58  const Elem *& _current_elem;
60  unsigned int & _current_side;
61 
62  const Elem *& _current_side_elem;
63  const Real & _current_side_volume;
64 
66  const Elem *& _neighbor_elem;
67 
69  const Real & getNeighborElemVolume();
70 };
71 
72 #endif /* INTERNALSIDEUSEROBJECT_H */
const Real & getNeighborElemVolume()
The volume (or length) of the current neighbor.
const MooseArray< Real > & _JxW
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Interface for objects that needs transient capabilities.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:74
Interface for objects that need to use UserObjects.
InternalSideUserObject(const InputParameters &parameters)
unsigned int & _current_side
current side of the current element
const Elem *& _neighbor_elem
The neighboring element.
const MooseArray< Point > & _q_point
Interface to bring zero values inside objects.
Definition: ZeroInterface.h:35
An interface that restricts an object to subdomains via the &#39;blocks&#39; input parameter.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
InputParameters validParams< InternalSideUserObject >()
const MooseArray< Real > & _coord
Base class for user-specific data.
Definition: UserObject.h:42
const MooseArray< Point > & _normals
Enhances Coupleable interface to also couple the values from neighbor elements.
Interface class for classes which interact with Postprocessors.