https://mooseframework.inl.gov
SetupQuadratureAction.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 "Action.h"
13 // libMesh
14 #include "libmesh/enum_order.h"
15 #include "libmesh/enum_quadrature_type.h"
16 
21 {
22 public:
24 
26 
27  virtual void act() override;
28 
31  {
32  return MooseEnum("CLOUGH CONICAL GAUSS GRID MONOMIAL SIMPSON TRAP GAUSS_LOBATTO", "GAUSS");
33  }
36  {
37  return MooseEnum(
38  "AUTO CONSTANT FIRST SECOND THIRD FOURTH FIFTH SIXTH SEVENTH EIGHTH NINTH TENTH "
39  "ELEVENTH TWELFTH THIRTEENTH FOURTEENTH FIFTEENTH SIXTEENTH SEVENTEENTH "
40  "EIGHTTEENTH NINTEENTH TWENTIETH",
41  "AUTO");
42  }
45  {
46  return MultiMooseEnum(
47  "CONSTANT FIRST SECOND THIRD FOURTH FIFTH SIXTH SEVENTH EIGHTH NINTH TENTH "
48  "ELEVENTH TWELFTH THIRTEENTH FOURTEENTH FIFTEENTH SIXTEENTH SEVENTEENTH "
49  "EIGHTTEENTH NINTEENTH TWENTIETH");
50  }
51 
52 protected:
57  const std::vector<std::pair<SubdomainID, MooseEnumItem>> _custom_block_orders;
59 };
Sets the quadrature.
static MooseEnum getQuadratureOrderEnum()
Return the potential selections for the order of the quadrature, with an &#39;auto&#39; default.
Order
static MultiMooseEnum getQuadratureOrdersMultiEnum()
A MultiMooseEnum for selecting multiple quadrature orders.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const std::vector< std::pair< SubdomainID, MooseEnumItem > > _custom_block_orders
Base class for actions.
Definition: Action.h:33
static MooseEnum getQuadratureTypesEnum()
Return the possible selections for the type of the quadrature.
libMesh::QuadratureType _type
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:33
static InputParameters validParams()
SetupQuadratureAction(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...