Skip to content

Commit

Permalink
Merge pull request #29186 from loganharbour/29184_neml2_amm
Browse files Browse the repository at this point in the history
Update NEML2 submodule path
  • Loading branch information
hugary1995 authored Dec 4, 2024
2 parents 586fdf5 + 7bacdfa commit 404762b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
url = https://code.ornl.gov/neams-workbench/wasp.git
[submodule "modules/solid_mechanics/contrib/neml2"]
path = modules/solid_mechanics/contrib/neml2
url = https://github.com/reverendbedford/neml2.git
url = ../../applied-material-modeling/neml2.git
update = none
[submodule "modules/fluid_properties/contrib/sodium"]
path = modules/fluid_properties/contrib/sodium
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NEML2

In addition to the MOOSE native material models, MOOSE can also seamlessly interface with the external material modeling library [NEML2](https://github.com/reverendbedford/neml2) [!cite](neml2_anl_report).
In addition to the MOOSE native material models, MOOSE can also seamlessly interface with the external material modeling library [NEML2](https://github.com/applied-material-modeling/neml2) [!cite](neml2_anl_report).

## What is NEML2?

Expand All @@ -15,7 +15,7 @@ built on top of [libTorch](https://pytorch.org/cppdocs/) to provide GPU support,
means that NEML2 models have all the features of a Torch module. So, for example, users can take
derivatives of the model with respect to parameters using pytorch automatic differentiation (AD).

NEML2 is provided as open source software under a MIT [license](https://raw.githubusercontent.com/reverendbedford/neml2/main/LICENSE).
NEML2 is provided as open source software under a MIT [license](https://raw.githubusercontent.com/applied-material-modeling/neml2/main/LICENSE).

## How to use NEML2?

Expand Down Expand Up @@ -59,7 +59,7 @@ A dedicated input file syntax block is reserved for MOOSE-NEML2 interaction. The
[]
```

The field `input` informs MOOSE where to look for the NEML2 input file. The field `model` tells MOOSE which material model in the NEML2 input file should be "imported". Details about all the options can be found in the [MOOSE-NEML2 syntax documentation](syntax/NEML2/index.md). To understand how to write a NEML2 input file, please refer to the [NEML2 documentation](https://reverendbedford.github.io/neml2/).
The field `input` informs MOOSE where to look for the NEML2 input file. The field `model` tells MOOSE which material model in the NEML2 input file should be "imported". Details about all the options can be found in the [MOOSE-NEML2 syntax documentation](syntax/NEML2/index.md). To understand how to write a NEML2 input file, please refer to the [NEML2 documentation](https://applied-material-modeling.github.io/neml2/).

## Citing NEML2

Expand Down
2 changes: 1 addition & 1 deletion modules/solid_mechanics/include/neml2/utils/NEML2Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ To debug NEML2 related issues:
run the simulation through a debugger: See
https://mooseframework.inl.gov/application_development/debugging.html
4. If the issue is due to a NEML2 bug, feel free to report it at
https://github.com/reverendbedford/neml2/issues
https://github.com/applied-material-modeling/neml2/issues
==============================================================================
)"""";

Expand Down

0 comments on commit 404762b

Please sign in to comment.