Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80217633
test_finite_def_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
Fri, Aug 30, 12:37
Size
1 KB
Mime Type
text/x-c++
Expires
Sun, Sep 1, 12:37 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20324934
Attached To
rAKA akantu
test_finite_def_materials.cc
View Options
/* -------------------------------------------------------------------------- */
#include "material_neohookean.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
<
MaterialNeohookean
,
1
>
,
Traits
<
MaterialNeohookean
,
2
>
,
Traits
<
MaterialNeohookean
,
3
>>
;
/*****************************************************************/
template
<>
void
FriendMaterial
<
MaterialNeohookean
<
3
>>::
testComputeStress
()
{
AKANTU_TO_IMPLEMENT
();
}
/*****************************************************************/
template
<>
void
FriendMaterial
<
MaterialNeohookean
<
3
>>::
testComputeTangentModuli
()
{
AKANTU_TO_IMPLEMENT
();
}
/*****************************************************************/
template
<>
void
FriendMaterial
<
MaterialNeohookean
<
3
>>::
testEnergyDensity
()
{
AKANTU_TO_IMPLEMENT
();
}
/*****************************************************************/
namespace
{
template
<
typename
T
>
class
TestFiniteDefMaterialFixture
:
public
::
TestMaterialFixture
<
T
>
{};
TYPED_TEST_CASE
(
TestFiniteDefMaterialFixture
,
types
);
TYPED_TEST
(
TestFiniteDefMaterialFixture
,
DISABLED_ComputeStress
)
{
this
->
material
->
testComputeStress
();
}
TYPED_TEST
(
TestFiniteDefMaterialFixture
,
DISABLED_EnergyDensity
)
{
this
->
material
->
testEnergyDensity
();
}
TYPED_TEST
(
TestFiniteDefMaterialFixture
,
DISABLED_ComputeTangentModuli
)
{
this
->
material
->
testComputeTangentModuli
();
}
TYPED_TEST
(
TestFiniteDefMaterialFixture
,
DISABLED_DefComputeCelerity
)
{
this
->
material
->
testCelerity
();
}
}
/*****************************************************************/
Event Timeline
Log In to Comment