Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F76296453
test_plastic_materials.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Aug 7, 05:59
Size
1 KB
Mime Type
text/x-c++
Expires
Fri, Aug 9, 05:59 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19691699
Attached To
rAKA akantu
test_plastic_materials.cc
View Options
/* -------------------------------------------------------------------------- */
#include "material_linear_isotropic_hardening.hh"
#include "solid_mechanics_model.hh"
#include "test_material_fixtures.hh"
#include <gtest/gtest.h>
#include <type_traits>
/* -------------------------------------------------------------------------- */
using
namespace
akantu
;
using
types
=
::
testing
::
Types
<
Traits
<
MaterialLinearIsotropicHardening
,
1
>
,
Traits
<
MaterialLinearIsotropicHardening
,
2
>
,
Traits
<
MaterialLinearIsotropicHardening
,
3
>>
;
/*****************************************************************/
namespace
{
template
<
typename
T
>
class
TestPlasticMaterialFixture
:
public
::
TestMaterialFixture
<
T
>
{};
TYPED_TEST_CASE
(
TestPlasticMaterialFixture
,
types
);
TYPED_TEST
(
TestPlasticMaterialFixture
,
PlasticComputeStress
)
{
this
->
material
->
testComputeStress
();
}
TYPED_TEST
(
TestPlasticMaterialFixture
,
PlasticEnergyDensity
)
{
this
->
material
->
testEnergyDensity
();
}
TYPED_TEST
(
TestPlasticMaterialFixture
,
PlasticComputeTangentModuli
)
{
this
->
material
->
testComputeTangentModuli
();
}
TYPED_TEST
(
TestPlasticMaterialFixture
,
PlasticComputeCelerity
)
{
this
->
material
->
testCelerity
();
}
}
/*****************************************************************/
Event Timeline
Log In to Comment