https://mooseframework.inl.gov
MFEML2ZienkiewiczZhuIndicator.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 #ifdef MOOSE_MFEM_ENABLED
11 
12 #pragma once
13 
14 #include "MFEMIndicator.h"
15 
21 {
22 public:
24 
26 
28  virtual void createEstimator() override;
29 
30 protected:
32  std::shared_ptr<mfem::ParFiniteElementSpace> _smooth_flux_fes;
35  std::shared_ptr<mfem::FiniteElementCollection> _smooth_flux_fec;
36 
38  std::shared_ptr<mfem::ParFiniteElementSpace> _flux_fes;
41  std::shared_ptr<mfem::FiniteElementCollection> _flux_fec;
42 
44  std::unique_ptr<mfem::BilinearFormIntegrator> _integ;
45 };
46 
47 #endif
Wrapper for the Zienkiewicz-Zhu estimator with L2 projection.
virtual void createEstimator() override
Override the createEstimator method to use a Zienkiewicz-Zhu estimator.
std::shared_ptr< mfem::FiniteElementCollection > _flux_fec
Finite element collection for the discontinuous flux.
std::shared_ptr< mfem::ParFiniteElementSpace > _flux_fes
Finite element space for the discontinuous flux.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
std::unique_ptr< mfem::BilinearFormIntegrator > _integ
Auxiliary blf integrator implementing ComputeElementFlux().
std::shared_ptr< mfem::ParFiniteElementSpace > _smooth_flux_fes
Finite element space for the smoothed flux.
std::shared_ptr< mfem::FiniteElementCollection > _smooth_flux_fec
Finite element collection for the smoothed flux.
MFEML2ZienkiewiczZhuIndicator(const InputParameters &parameters)