idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.6k stars 1k forks source link

Improve modular NEML2 interface #27553

Open dschwen opened 1 week ago

dschwen commented 1 week ago

Motivation

A use case for nodal NEML2 model execution has popped up, and the execution during the INITIAL execution state needs to be enabled. Investigate micro optimizations for tensor conversion and contiguous storage for fast memcopy transfers back to MOOSE. Add some more error checking.

Design

Template ExecuteNEML2Model and add a nodal version. Figure out why the INITIAL stage is not properly executing. Check the compatibility of block restrictions of the involved user objects.

Impact

Added capability