Skip to content

Commit

Permalink
Fix Issue #580
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Jun 19, 2024
1 parent 2c29389 commit b44bd92
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/web/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ pandoc_html(release-notes-3.0.10 "--toc" "--toc-depth=2")
pandoc_html(release-notes-3.0.11 "--toc" "--toc-depth=2")
pandoc_html(release-notes-3.0.12 "--toc" "--toc-depth=2")
pandoc_html(release-notes-3.0.13 "--toc" "--toc-depth=2")
pandoc_html(release-notes-3.0.14 "--toc" "--toc-depth=2")
pandoc_html(release-notes-3.1 "--toc" "--toc-depth=2" "--number-sections" "-c css/slideshow.css")
pandoc_html(release-notes-3.1.1 "--toc" "--toc-depth=2")
pandoc_html(release-notes-3.1.2 "--toc" "--toc-depth=2")
Expand Down
1 change: 1 addition & 0 deletions docs/web/mfront-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
<li><a href="release-notes-3.0.11.html">Version 3.0.11</a></li>
<li><a href="release-notes-3.0.12.html">Version 3.0.12</a></li>
<li><a href="release-notes-3.0.13.html">Version 3.0.13</a></li>
<li><a href="release-notes-3.0.14.html">Version 3.0.14</a></li>
</ul>
</li>
<li><a>Versions 3.1.x</a>
Expand Down
35 changes: 35 additions & 0 deletions docs/web/release-notes-3.0.14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Release notes of the 3.0.14 version of `TFEL`, `MFront` and `MTest`
author: Thomas Helfer
date: 6/12/2023
lang: en-EN
numbersections: true
documentclass: article
from: markdown+tex_math_single_backslash
geometry:
- margin=2cm
papersize: a4
link-citations: true
colorlinks: true
figPrefixTemplate: "$$i$$"
tblPrefixTemplate: "$$i$$"
secPrefixTemplate: "$$i$$"
eqnPrefixTemplate: "($$i$$)"
---

The page describes the new functionalities of Version 3.0.14 of the
`TFEL` project.

# Issues fixed

## Issue 580: [aster interface] Some fields are missing in the default implementation of the `AsterTraits` class

The following fields are missing:

~~~~{.cxx}
static constexpr unsigned short material_properties_nb = 0u;
static constexpr unsigned short elasticPropertiesOffset = 0u;
static constexpr unsigned short thermalExpansionPropertiesOffset = 0u;
~~~~

For more details, see <https://github.com/thelfer/tfel/issues/580>.
3 changes: 3 additions & 0 deletions mfront/include/MFront/Aster/AsterTraits.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ namespace aster {
static constexpr bool requiresStiffnessTensor = false;
static constexpr bool requiresThermalExpansionCoefficientTensor = false;
static constexpr unsigned short propertiesOffset = 0u;
static constexpr unsigned short material_properties_nb = 0u;
static constexpr unsigned short elasticPropertiesOffset = 0u;
static constexpr unsigned short thermalExpansionPropertiesOffset = 0u;
//! \brief type of the behaviour of the material (isotropic or orthotropic)
static constexpr AsterSymmetryType type = aster::ISOTROPIC;
//! \brief type of the elastic behaviour of the material (isotropic or
Expand Down

0 comments on commit b44bd92

Please sign in to comment.