https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SideIntegralMaterialProperty.C
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
11
12#include "metaphysicl/raw_type.h"
13
16
17template <bool is_ad>
20{
22 params.addClassDescription("Compute the integral of a scalar material property component over "
23 "the domain.");
24 return params;
25}
26
27template <bool is_ad>
33
34template <bool is_ad>
35void
37{
39
40 // check if the material property type and number of supplied components match
41 _prop.check();
42}
43
44template <bool is_ad>
45Real
50
registerMooseObject("MooseApp", SideIntegralMaterialProperty)
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
Computes the integral of a material property over a side set.
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
SideIntegralMaterialPropertyTempl(const InputParameters &parameters)
This postprocessor computes a surface integral of the specified variable on a sideset on the boundary...
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
auto raw_value(const Eigen::Map< T > &in)