https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ElementOptimizationFunctionInnerProduct.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
14
17{
18public:
21
22 virtual void initialize() override;
23 virtual void execute() override;
24 virtual void threadJoin(const UserObject & uo) override;
25 virtual void finalize() override;
26
27protected:
32 virtual Real computeQpInnerProduct() = 0;
33
39 unsigned int _qp;
40};
std::vector< Real > VectorPostprocessorValue
const VariableValue & _var
Quadrature point values of coupled MOOSE variables.
virtual Real computeQpInnerProduct()=0
Used to compute the inner product at a certain quadrature point.
VectorPostprocessorValue & _vec
Vector holding inner product.
virtual void threadJoin(const UserObject &uo) override
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue