Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64776676
test_cohesive.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, May 29, 09:18
Size
1 KB
Mime Type
text/x-c
Expires
Fri, May 31, 09:18 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17956695
Attached To
rAKA akantu
test_cohesive.cc
View Options
/* -------------------------------------------------------------------------- */
#include "aka_iterators.hh"
#include "test_cohesive_fixture.hh"
/* -------------------------------------------------------------------------- */
TYPED_TEST(TestSMMCFixture, ExtrinsicModeI) {
getStaticParser().parse("material_0.dat");
this->is_extrinsic = true;
this->analysis_method = _explicit_lumped_mass;
this->testModeI();
this->checkInsertion();
auto & mat_co = this->model->getMaterial("insertion");
Real G_c = mat_co.get("G_c");
this->checkDissipated(G_c);
}
TYPED_TEST(TestSMMCFixture, ExtrinsicModeII) {
getStaticParser().parse("material_0.dat");
this->is_extrinsic = true;
this->analysis_method = _explicit_lumped_mass;
this->testModeII();
this->checkInsertion();
auto & mat_co = this->model->getMaterial("insertion");
Real G_c = mat_co.get("G_c");
this->checkDissipated(G_c);
}
TYPED_TEST(TestSMMCFixture, IntrinsicModeI) {
getStaticParser().parse("material_1.dat");
this->is_extrinsic = false;
this->analysis_method = _explicit_lumped_mass;
this->testModeI();
this->checkInsertion();
auto & mat_co = this->model->getMaterial("insertion");
Real G_c = mat_co.get("G_c");
this->checkDissipated(G_c);
}
TYPED_TEST(TestSMMCFixture, IntrinsicModeII) {
getStaticParser().parse("material_1.dat");
this->is_extrinsic = false;
this->analysis_method = _explicit_lumped_mass;
this->testModeII();
this->checkInsertion();
auto & mat_co = this->model->getMaterial("insertion");
Real G_c = mat_co.get("G_c");
this->checkDissipated(G_c);
}
Event Timeline
Log In to Comment