https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NodalPatchRecoveryAuxBase.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 "AuxKernel.h"
13
15
17{
18public:
20
22
26 void blockRestrictElements(std::vector<dof_id_type> & elem_ids,
27 const std::vector<dof_id_type> & node_to_elem_pair_elems) const;
28
29protected:
30 virtual Real computeValue() override;
31
33 virtual Real nodalPatchRecovery() = 0;
34
36 std::vector<dof_id_type> _elem_ids;
37};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
virtual Real computeValue() override
Compute and return the value of the aux variable.
virtual Real nodalPatchRecovery()=0
Override this to get the fitted value from a Nodal Patch Recovery User Object.
std::vector< dof_id_type > _elem_ids
local patch of elements used for recovery
void blockRestrictElements(std::vector< dof_id_type > &elem_ids, const std::vector< dof_id_type > &node_to_elem_pair_elems) const
Block restrict elements on which to perform the variable/property nodal recovery.
static InputParameters validParams()