Skip to content

Commit

Permalink
gravity fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aiksiongkoh committed Nov 16, 2023
1 parent fd5e282 commit 1b9ba5a
Show file tree
Hide file tree
Showing 6 changed files with 2,490 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OndselSolver/MBDynSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void MbD::MBDynSystem::createASMT()
for (auto& node : *nodes) node->createASMT();
for (auto& body : *bodies) body->createASMT();
for (auto& joint : *joints) joint->createASMT();
gravity->createASMT();
if (gravity) gravity->createASMT();
}

std::shared_ptr<MBDynNode> MbD::MBDynSystem::nodeAt(std::string nodeName)
Expand Down
439 changes: 439 additions & 0 deletions OndselSolver/assembly.asmt

Large diffs are not rendered by default.

Loading

0 comments on commit 1b9ba5a

Please sign in to comment.