Skip to content

Commit

Permalink
Merge pull request #570 from thelfer/476-generic-interface-add-suppor…
Browse files Browse the repository at this point in the history
…t-for-arrays-of-thermodynamic-forces

476 generic interface add support for arrays of thermodynamic forces
  • Loading branch information
thelfer authored May 23, 2024
2 parents 63d6a41 + 4d591f1 commit af59dda
Show file tree
Hide file tree
Showing 13 changed files with 2,003 additions and 74 deletions.
8 changes: 7 additions & 1 deletion docs/web/release-notes-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,18 @@ use the `TFEL` libraries in `C++` projects, using either the

For more details, see <https://github.com/thelfer/tfel/issues/557>

## Issue 555: [cmake] better handling of dependencies in exported `cmake` files
## Issue 556: `[cmake]` export compile flags in dedicated variables

For more details, see <https://github.com/thelfer/tfel/issues/556>

## Issue 555: `[cmake]` better handling of dependencies in exported `cmake` files

For more details, see <https://github.com/thelfer/tfel/issues/556>

## Issue 526: The `@UseQt` keyword is not mentioned in the `MaterialLaw`'s keywords help page

For more details, see <https://github.com/thelfer/tfel/issues/526>

## Issue 476: [generic interface] Add support for arrays of thermodynamic forces

For more details, see <https://github.com/thelfer/tfel/issues/476>
8 changes: 8 additions & 0 deletions mfront/include/MFront/BehaviourCodeGeneratorBase.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ namespace mfront {
protected:
//! \brief a simple alias
using OrthotropicAxesConvention = tfel::material::OrthotropicAxesConvention;

/*!
* \brief a method checking if the given gradient and the thermodynamic
* forces have the same array size. \param[in] m: name of the calling method
* \param[in] mv: main variable
*/
static void checkArraySizeOfMainVariables(
const std::string_view, const std::pair<Gradient, ThermodynamicForce>&);
/*!
* \brief throw an std::runtime_error
* \param[in] m: calling method name
Expand Down
Loading

0 comments on commit af59dda

Please sign in to comment.