Revision 1f037930ff0f8bb09bb223b084fcd5f17decaceb authored by FZill on 17 December 2021, 10:30:00 UTC, committed by FZill on 20 December 2021, 08:08:45 UTC
- THM: added computeElasticTangentStiffness - THM: added ElasticTangentStiffness to getBulkModulus - T/THM: updating BGRaCreepAndInitialStressAtIP_AREHS the solid_material fix slightly changed the test result, the relative differences to the data sets of the previous result are about 1e-7
1 parent a4cabe1
TestTools.h
/**
* \file
* \author Norihiro Watanabe
* \date 2013-04-16
* \brief
*
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include <gtest/gtest.h>
#include <boost/property_tree/ptree_fwd.hpp>
#pragma once
#define ASSERT_ARRAY_NEAR(E,A,N,eps)\
for (std::size_t i=0; i<(unsigned)(N); i++) \
ASSERT_NEAR((E)[i], (A)[i], (eps));
#define ASSERT_ARRAY_EQ(E,A,N)\
for (std::size_t i=0; i<(unsigned)(N); i++) \
ASSERT_EQ((E)[i], (A)[i]);
namespace Tests
{
boost::property_tree::ptree readXml(const char xml[]);
} // namespace Tests
Computing file changes ...