https://mooseframework.inl.gov
CostSensitivity.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 "Material.h"
14 #include "MathUtils.h"
15 
21 {
22 public:
24 
26 
27  virtual void computeQpProperties() override;
28 
29 protected:
31  const std::string _base_name;
37  const MaterialPropertyName _design_density_name;
42 };
const MaterialProperty< Real > & _dcostdrho
Derivative of the cost with respect to the pseudo-density variable.
static InputParameters validParams()
virtual void computeQpProperties() override
const MaterialProperty< Real > & _cost
Cost material property.
MaterialProperty< Real > & _sensitivity
The cost sensitivity material generated by this object.
const VariableValue & _design_density
Pseudo-density variable.
Computes the cost sensitivity for SIMP optimization algorithms that consider a cost constraint...
const MaterialPropertyName _design_density_name
Pseudo-density variable name.
OutputTools< Real >::VariableValue VariableValue
const std::string _base_name
Base name of the material system.
CostSensitivity(const InputParameters &parameters)
const InputParameters & parameters() const