Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60694377
test_damage_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
Thu, May 2, 00:34
Size
1 KB
Mime Type
text/x-c++
Expires
Sat, May 4, 00:34 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17397830
Attached To
rAKA akantu
test_damage_materials.cc
View Options
/* -------------------------------------------------------------------------- */
#include "material_marigo.hh"
#include "material_mazars.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
<
MaterialMarigo
,
1
>
,
Traits
<
MaterialMarigo
,
2
>
,
Traits
<
MaterialMarigo
,
3
>
,
Traits
<
MaterialMazars
,
1
>
,
Traits
<
MaterialMazars
,
2
>
,
Traits
<
MaterialMazars
,
3
>>
;
/*****************************************************************/
namespace
{
template
<
typename
T
>
class
TestDamageMaterialFixture
:
public
::
TestMaterialFixture
<
T
>
{};
TYPED_TEST_CASE
(
TestDamageMaterialFixture
,
types
);
TYPED_TEST
(
TestDamageMaterialFixture
,
DamageComputeStress
)
{
this
->
material
->
testComputeStress
();
}
TYPED_TEST
(
TestDamageMaterialFixture
,
DamageEnergyDensity
)
{
this
->
material
->
testEnergyDensity
();
}
TYPED_TEST
(
TestDamageMaterialFixture
,
DamageComputeTangentModuli
)
{
this
->
material
->
testComputeTangentModuli
();
}
TYPED_TEST
(
TestDamageMaterialFixture
,
DamageComputeCelerity
)
{
this
->
material
->
testCelerity
();
}
}
/*****************************************************************/
Event Timeline
Log In to Comment