NEML2 2.1.0
Loading...
Searching...
No Matches
neml2.es Namespace Reference

Classes

class  AssembledMatrix
class  AssembledVector
class  AxisLayout
class  NonlinearSystem
class  SparseMatrix
class  SparseVector

Functions

NonlinearSystem load_nonlinear_system (typing.Any path, str name)

Detailed Description

Wrappers and utilities for NEML2 equation systems

Function Documentation

◆ load_nonlinear_system()

NonlinearSystem load_nonlinear_system ( typing.Any path,
str name )
  A convenient function to load an input file and get a nonlinear system.

  This function is equivalent to calling core.load_input followed by
  Factory.get_nonlinear_system. Note that this convenient function does not
  support passing additional command-line arguments and will force the creation of a new
  es.NonlinearSystem even if one has already been created. Use core.load_input and
  Factory.get_nonlinear_system if you need finer control over the model creation behavior.

  :param path:      Path to the input file to be parsed
  :param name:      Name of the nonlinear system