Skip to content

Commit 750122f

Browse files
committed
dummy test for compressibleneohooke
1 parent c31fd56 commit 750122f

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# add current directory to the source for the tests
2+
SET(CURR_TEST_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/test")
3+
4+
# Tests for VonMises material
5+
add_marmot_test("TestCompressibleNeoHooke" "${CURR_TEST_SOURCE_DIR}/test.cpp")

test/test.cpp renamed to modules/materials/CompressibleNeoHooke/test/test.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include "Marmot/CompressibleNeoHooke.h"
2-
#include "Marmot/Marmot.h"
2+
#include "Marmot/MarmotFastorTensorBasics.h"
33
#include "Marmot/MarmotMaterialFiniteStrain.h"
4-
#include "Marmot/MarmotMicromorphicTensorBasics.h"
54

65
int main()
76
{
@@ -26,9 +25,9 @@ int main()
2625

2726
mat.computeStress( response, tangent, def, timeInc );
2827

29-
std::cout << "deformation=\n" << def.F << std::endl;
30-
std::cout << "stress = \n" << response.tau << std::endl;
31-
std::cout << "tangent = \n" << tangent.dTau_dF << std::endl;
28+
/* std::cout << "deformation=\n" << def.F << std::endl; */
29+
/* std::cout << "stress = \n" << response.tau << std::endl; */
30+
/* std::cout << "tangent = \n" << tangent.dTau_dF << std::endl; */
3231

3332
return 0;
3433
}

test.cmake

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)