idaholab / blackbear

BlackBear is a MOOSE-based code for simulating degradation processes in concrete and other structural materials.
GNU Lesser General Public License v2.1
17 stars 42 forks source link

Compile NEML2 objects even without NEML2 #370

Closed loganharbour closed 10 months ago

loganharbour commented 10 months ago

Closes #369

moosebuild commented 10 months ago

Job Documentation on 6f65c2a wanted to post the following:

View the site here

This comment will be updated on new commits.

hugary1995 commented 10 months ago

The neml2 regression tests are run regardless and will fail when blackbear isn't compiled with neml2. The tests used to work because we had

required_objects = 'CauchyStressFromNEML2'

but now this object always exists.

hugary1995 commented 10 months ago

One way to fix this:

  1. Rename test/tests/neml2/tests to test/tests/neml2/tests.in.
  2. In contrib/neml2.mk, when ENABLE_NEML2 is true, populate test/tests/neml2/tests based on test/tests/neml2/tests.in.

or something along this line.

moosebuild commented 10 months ago

Job Coverage on 6f65c2a wanted to post the following:

Coverage

4b09c6 #370 6f65c2
Total Total +/- New
Rate 94.27% 93.77% -0.50% 29.41%
Hits 2074 2077 +3 5
Misses 126 138 +12 12

Diff coverage report

Full coverage report

Warnings

This comment will be updated on new commits.