Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63604391
patch_test_linear_elastic_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
Tue, May 21, 07:23
Size
791 B
Mime Type
text/x-c
Expires
Thu, May 23, 07:23 (2 d)
Engine
blob
Format
Raw Data
Handle
17793989
Attached To
rAKA akantu
patch_test_linear_elastic_implicit.cc
View Options
/* -------------------------------------------------------------------------- */
#include "patch_test_linear_solid_mechanics_fixture.hh"
/* -------------------------------------------------------------------------- */
#include "non_linear_solver.hh"
/* -------------------------------------------------------------------------- */
TYPED_TEST
(
TestPatchTestSMMLinear
,
Implicit
)
{
std
::
string
filename
=
"material_check_stress_plane_stress.dat"
;
if
(
this
->
plane_strain
)
filename
=
"material_check_stress_plane_strain.dat"
;
this
->
initModel
(
_static
,
filename
);
auto
&
solver
=
this
->
model
->
getNonLinearSolver
();
solver
.
set
(
"max_iterations"
,
2
);
solver
.
set
(
"threshold"
,
2e-4
);
solver
.
set
(
"convergence_type"
,
_scc_residual
);
this
->
model
->
solveStep
();
this
->
checkAll
();
}
Event Timeline
Log In to Comment