https://mooseframework.inl.gov
QuadraturePointMarker.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Marker.h"
13 #include "Coupleable.h"
15 #include "MooseVariableInterface.h"
16 
18  public MooseVariableInterface<Real>,
20 {
21 public:
23 
25 
26 protected:
27  virtual MarkerValue computeElementMarker() override;
28 
37  virtual MarkerValue computeQpMarker() = 0;
38 
40  const VariableValue & _u;
41 
43  const QBase * const & _qrule;
44 
47 
49  unsigned int _qp;
50 
53 };
const VariableValue & _u
Holds the solution at current quadrature points.
Definition: Marker.h:41
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:59
unsigned int _qp
The current quadrature point.
static InputParameters validParams()
const QBase *const & _qrule
The quadrature rule for the system.
QuadraturePointMarker(const InputParameters &parameters)
OutputTools< Real >::VariableValue VariableValue
Definition: MooseTypes.h:314
An interface for accessing Materials.
Interface for objects that need to get values of MooseVariables.
virtual MarkerValue computeElementMarker() override
const InputParameters & parameters() const
Get the parameters of the object.
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.
MarkerValue _third_state
The behavior to use when "in-between" other states (what to do on the fringe)