Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78329490
patch_test_linear_heat_transfer_implicit.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
Mon, Aug 19, 20:57
Size
775 B
Mime Type
text/x-c
Expires
Wed, Aug 21, 20:57 (2 d)
Engine
blob
Format
Raw Data
Handle
20028721
Attached To
rAKA akantu
patch_test_linear_heat_transfer_implicit.cc
View Options
/* -------------------------------------------------------------------------- */
#include "patch_test_linear_heat_transfer_fixture.hh"
/* -------------------------------------------------------------------------- */
TYPED_TEST(TestPatchTestHTMLinear, Implicit) {
this->initModel(_implicit_dynamic, "heat_transfer_input.dat");
const auto & coordinates = this->mesh->getNodes();
auto & temperature = this->model->getTemperature();
// set the position of all nodes to the static solution
for (auto && tuple : zip(make_view(coordinates, this->dim),
make_view(temperature, 1))) {
this->setLinearDOF(std::get<1>(tuple), std::get<0>(tuple));
}
for (UInt s = 0; s < 100; ++s) {
this->model->solveStep();
}
this->checkAll();
}
Event Timeline
Log In to Comment