https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MisfitReporterOffsetFunctionMaterial.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
13
14template <bool>
18
23template <bool is_ad>
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
MisfitReporterOffsetFunctionMaterialTempl< true > ADMisfitReporterOffsetFunctionMaterial
MisfitReporterOffsetFunctionMaterialTempl< false > MisfitReporterOffsetFunctionMaterial
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
unsigned int _qp
This class creates a misfit and misfit gradient material that can be used for optimizing measurements...
const GenericVariableValue< is_ad > & _sim_var
Simulation variable.
GenericMaterialProperty< Real, is_ad > & _mat_prop_gradient
Gradient of misfit with respect to the simulation variable.
Real computeWeighting(const Point &point_shift)
const std::vector< Real > & _measurement_values
values at each xyz coordinate
const InputParameters & parameters() const
This class defines a material with an associated offset function.
const bool _read_in_points
bool if data format read in is points
const std::vector< Real > & _coordz
z coordinate
Real computeOffsetFunction(const Point &point_offset)
Calculates the value of the function at the given offset point.
const std::vector< Point > & _points
xyz point
const std::vector< Real > & _coordx
Reporter offset locations for function.
const std::string _prop_name
Base name of the material system.
GenericMaterialProperty< Real, is_ad > & _material
Misfit value at each quadrature point.
const std::vector< Real > & _coordy
y coordinate