https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NEML2PreKernel.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#ifdef NEML2_ENABLED
13
14// MOOSE includes
15#include "NEML2Kernel.h"
16#include "MOOSEToNEML2.h"
17
20{
21public:
23
25
26 neml2::Tensor gatheredData() const override { return _output; }
27};
28
29#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Common interface for inserting gathered MOOSE data into the NEML2 material model.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
NEML2Kernel is a conceptual extension of MOOSE kernel that operates on NEML2 tensors.
Definition NEML2Kernel.h:34
neml2::Tensor _output
The output of the forward operator.
Definition NEML2Kernel.h:55
Base class for NEML2 kernels that operate before the constitutive update.
neml2::Tensor gatheredData() const override
Convert data gathered from MOOSE into neml2::Tensor.
static InputParameters validParams()