www.mooseframework.org
QuadraturePointMarker.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 QUADRATUREPOINTMARKER_H
16 #define QUADRATUREPOINTMARKER_H
17 
18 #include "Marker.h"
19 #include "Coupleable.h"
21 
23 
24 template <>
26 
28 {
29 public:
31 
32 protected:
33  virtual MarkerValue computeElementMarker() override;
34 
43  virtual MarkerValue computeQpMarker() = 0;
44 
46  QBase *& _qrule;
47 
50 
52  unsigned int _qp;
53 };
54 
55 #endif /* QUADRATUREPOINTMARKER_H */
Definition: Marker.h:42
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
MarkerValue
This mirrors the main refinement flag values in libMesh in Elem::RefinementState but adds "dont_mark"...
Definition: Marker.h:58
unsigned int _qp
The current quadrature point.
InputParameters validParams< QuadraturePointMarker >()
QuadraturePointMarker(const InputParameters &parameters)
QBase *& _qrule
The quadrature rule for the system.
Interface for objects that needs coupling capabilities.
Definition: Coupleable.h:35
An interface for accessing Materials.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
virtual MarkerValue computeElementMarker() override
const MooseArray< Point > & _q_point
Position of the current quadrature point.
virtual MarkerValue computeQpMarker()=0
Override this to compute a marker value at each quadrature point.