https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GenericConstantArray.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
16{
17public:
19
21
22 virtual std::size_t getVectorPropertySize(const MaterialPropertyName & prop_name) const override;
23
24protected:
25 virtual void initQpStatefulProperties() override;
26 virtual void computeQpProperties() override;
27
28 std::string _prop_name;
29 const RealEigenVector & _prop_value;
30
32};
const RealEigenVector & _prop_value
virtual void initQpStatefulProperties() override
Initialize stateful properties at quadrature points.
virtual std::size_t getVectorPropertySize(const MaterialPropertyName &prop_name) const override
Return the size of the variable size vector material property that the material defines.
MaterialProperty< RealEigenVector > & _property
static InputParameters validParams()
virtual void computeQpProperties() override
Users must override this method.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Materials compute MaterialProperties.
Definition Material.h:36
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Interface class to return the size of material properties that do not have a fixed size.