Skip to content

Commit 0da58e7

Browse files
committed
fix: bug fixes in tests
1 parent 5340d5f commit 0da58e7

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

source/Line.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -784,11 +784,6 @@ Line::setState(const InstanceStateVarView state)
784784
void
785785
Line::setEndKinematics(vec pos, vec vel, EndPoints end_point)
786786
{
787-
if (t < 5 && int(t / dtm0) % 20 == 0) {
788-
LOGDBG << "------" << endl;
789-
LOGDBG << "Setting end kinematics for end point " << end_point << endl;
790-
LOGDBG << "Position: " << pos.transpose() << ", Velocity: " << vel.transpose() << endl;
791-
}
792787

793788
switch (end_point) {
794789
case ENDPOINT_TOP:

tests/state_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ CreateLine(md::Log* log, EnvCondRef env, unsigned int n,
3838
props.type = "main";
3939
props.d = 0.1;
4040
props.w = 100.;
41+
props.ElasticMod = 1;
4142
props.EA = 3.e8;
4243
props.BA = -1.0;
4344
props.EI = 0.0;

tests/time_schemes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static std::vector<std::string> dts({ "1.5E-4", // Euler
7979
// "1.0E-4", // AB5
8080
"6.0E-4", // BEuler5
8181
"1.0E-3", // BEuler10
82-
"1.3E-3", // BEuler15
82+
"1.2E-3", // BEuler15
8383
"1.5E-3", // BEuler20
8484
"1.0E-3", // Midpoint5
8585
"1.9E-3", // Midpoint10

0 commit comments

Comments
 (0)