Skip to content

Commit

Permalink
Merge pull request #26 from UCBoulder/feat/add-previous-stress-calcul…
Browse files Browse the repository at this point in the history
…ation-linear-elasticity

Feat/add previous stress calculation linear elasticity
  • Loading branch information
NateAM committed Dec 22, 2023
2 parents b3830c5 + af70c66 commit 003c0dd
Show file tree
Hide file tree
Showing 5 changed files with 930 additions and 75 deletions.
9 changes: 6 additions & 3 deletions docs/sphinx/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ Changelog
Breaking Changes
================
- Changed hydra function calls to be more general (:pull:`1`, :pull:`2`, :pull:`3`, :pull:`4`, :pull:`5`, :pull:`6`). By `Nathan Miller`_.
- Added macros for the setter functions (:pull:`24`). By `Nathan Miller`_.
- Added macros for the getter functions (:pull:`25`). By `Nathan Miller`_.

New Features
============
- Added micromorphic hydra object (:pull:`7`). By `Nathan Miller`_.
- Added general setter functions for iteration and previous data (:pull:`20`). By `Nathan Miller`_.
- Added general setter functions for iteration and previous data (:pull:`23`). By `Nathan Miller`_.
- Added calculation of previous linear elastic stress (:pull:`26`). By `Nathan Miller`_.

Internal Changes
================
Expand All @@ -29,8 +32,8 @@ Internal Changes
- Added computation of Jacobian of the gradient of the micro-deformations in their local reference configurations (:pull:`14`). By `Nathan Miller`_.
- Copied over micromorphic linear elasticity subroutines to tardigrade hydra (:pull:`17`). By `Nathan Miller`_.
- Added initial micromorphic linear elastic residual (:pull:`18`). By `Nathan Miller`_.
- Added the calculation of the derived deformation measures (:pull:`19`). By `Nathan Miller`_.
- Added the calculation of the reference stress measures (:pull:`20`). By `Nathan Miller`_.
- Added the calculation of the micromorphic linear elastic derived deformation measures (:pull:`19`). By `Nathan Miller`_.
- Added the calculation of the micromorphic linear elastic reference stress measures (:pull:`20`). By `Nathan Miller`_.

******************
0.1.2 (12-06-2023)
Expand Down
3 changes: 2 additions & 1 deletion src/cpp/tardigrade_hydra.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include<functional>

#include<tardigrade_error_tools.h>
//!We will use the functions that depend on Eigen
#define USE_EIGEN
#include<tardigrade_vector_tools.h>
#include<tardigrade_abaqus_tools.h>
Expand Down Expand Up @@ -43,7 +44,7 @@
* \param uncall: The function that is called if the variable is undefined.
* This should set the variable or throw an error
*/
#define TARDIGRADE_HYDRA_DECLARE_GETTER(varname,vartype,setfun) \
#define TARDIGRADE_HYDRA_DECLARE_GETTER(varname,vartype,uncall) \
TARDIGRADE_HYDRA_DECLARE_NAMED_GETTER(get_##varname,varname,vartype,uncall)

/*!
Expand Down
Loading

0 comments on commit 003c0dd

Please sign in to comment.