https://mooseframework.inl.gov
MOOSEPostprocessorToNEML2.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 "MOOSEToNEML2Unbatched.h"
13 
17 template <unsigned int state>
19 {
20 public:
22 
24 
25 #ifdef NEML2_ENABLED
26  neml2::Tensor gatheredData() const override;
27 
28 protected:
30  const Real & _moose_pp;
31 #endif
32 };
33 
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
neml2::Tensor gatheredData() const override
Convert data gathered from MOOSE into neml2::Tensor.
Gather a MOOSE postprocessor value for insertion into the NEML2 model.
const Real & _moose_pp
Coupled MOOSE postprocessor value to read data from.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MOOSEPostprocessorToNEML2Templ(const InputParameters &params)