Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Sep 18, 2024
1 parent b1c0e0c commit 1d2c3ab
Show file tree
Hide file tree
Showing 8 changed files with 2,472 additions and 6,061 deletions.
5,137 changes: 1,440 additions & 3,697 deletions Include/catch/catch_amalgamated.cpp

Large diffs are not rendered by default.

3,383 changes: 1,030 additions & 2,353 deletions Include/catch/catch_amalgamated.hpp

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions Material/Material1D/vonMises/ArmstrongFrederick1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include "ArmstrongFrederick1D.h"

#include <Recorder/OutputType.h>

ArmstrongFrederick1D::ArmstrongFrederick1D(const unsigned T, DataArmstrongFrederick1D&& D, const double R)
: DataArmstrongFrederick1D(std::move(D))
, Material1D(T, R) {}
Expand Down Expand Up @@ -86,10 +84,8 @@ int ArmstrongFrederick1D::update_trial_status(const vec& t_strain) {

jacobian = -elastic_modulus - dk;

if(xi > 0.)
for(auto I = 0u; I < size; ++I) jacobian += (b(I) * trial_history(I) - a(I)) * pow(1. + b(I) * gamma, -2.);
else
for(auto I = 0u; I < size; ++I) jacobian -= (b(I) * trial_history(I) + a(I)) * pow(1. + b(I) * gamma, -2.);
if(xi > 0.) for(auto I = 0u; I < size; ++I) jacobian += (b(I) * trial_history(I) - a(I)) * pow(1. + b(I) * gamma, -2.);
else for(auto I = 0u; I < size; ++I) jacobian -= (b(I) * trial_history(I) + a(I)) * pow(1. + b(I) * gamma, -2.);

const auto incre = yield_func / jacobian;
const auto error = fabs(incre);
Expand Down
1 change: 0 additions & 1 deletion Material/Material1D/vonMises/VAFCRP1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "VAFCRP1D.h"
#include <Domain/DomainBase.h>
#include <Domain/Factory.hpp>
#include <Recorder/OutputType.h>

constexpr double VAFCRP1D::unit_time = 1.;

Expand Down
1 change: 0 additions & 1 deletion Material/Material3D/vonMises/ArmstrongFrederick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
******************************************************************************/

#include "ArmstrongFrederick.h"
#include <Recorder/OutputType.h>
#include <Toolbox/tensor.h>

const double ArmstrongFrederick::root_three_two = sqrt(1.5);
Expand Down
1 change: 0 additions & 1 deletion Material/Material3D/vonMises/BilinearJ2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
******************************************************************************/

#include "BilinearJ2.h"
#include <Recorder/OutputType.h>
#include <Toolbox/tensor.h>

constexpr double BilinearJ2::two_third = 2. / 3.;
Expand Down
1 change: 0 additions & 1 deletion Material/Material3D/vonMises/NonlinearJ2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
******************************************************************************/

#include "NonlinearJ2.h"
#include <Recorder/OutputType.h>
#include <Toolbox/tensor.h>

const double NonlinearJ2::root_two_third = sqrt(two_third);
Expand Down
1 change: 0 additions & 1 deletion Material/Material3D/vonMises/VAFCRP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "VAFCRP.h"
#include <Domain/DomainBase.h>
#include <Domain/Factory.hpp>
#include <Recorder/OutputType.h>
#include <Toolbox/tensor.h>

const double VAFCRP::root_three_two = sqrt(1.5);
Expand Down

0 comments on commit 1d2c3ab

Please sign in to comment.