initQpStatefulProperties problem #24281
-
Hi, For the C file: InitialProb::InitialProb(const InputParameters & parameters) void void For h file: class InitialProb : public Material protected: private: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Move validParams() inside the class like so class InitialProb : public Material
{
public:
static InputParameters validParams();
// ...
}; In the source file change accordingly InputParameters
InitialProb::validParams()
{
InputParameters params = validParams();
params.addParam("initial_length", 0.1, "initial length");
return params;
} |
Beta Was this translation helpful? Give feedback.
see this newsletter for the announcement and steps to take around this deprecation
https://mooseframework.inl.gov/newsletter/2020/2020_04.html#c1ba1ef6-13a6-4210-bedb-0b691fec2ce7