Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79729370
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
Tue, Aug 27, 23:10
Size
1 KB
Mime Type
text/x-c++
Expires
Thu, Aug 29, 23:10 (2 d)
Engine
blob
Format
Raw Data
Handle
20197237
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