www.mooseframework.org
ComboMarker.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 COMBOMARKER_H
16 #define COMBOMARKER_H
17 
18 #include "Marker.h"
19 
20 class ComboMarker;
21 
25 template <>
27 
28 class ComboMarker : public Marker
29 {
30 public:
32 
33 protected:
34  virtual MarkerValue computeElementMarker() override;
35 
36  std::vector<MarkerName> _names;
37 
38  std::vector<const VariableValue *> _markers;
39 };
40 
41 #endif /* COMBOMARKER_H */
virtual MarkerValue computeElementMarker() override
Definition: ComboMarker.C:38
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
std::vector< MarkerName > _names
Definition: ComboMarker.h:36
ComboMarker(const InputParameters &parameters)
Definition: ComboMarker.C:30
InputParameters validParams< ComboMarker >()
Combines multiple marker fields.
Definition: ComboMarker.C:19
std::vector< const VariableValue * > _markers
Definition: ComboMarker.h:38
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53