File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -694,15 +694,6 @@ std::vector<float3> DEMTracker::GetMeshNodesGlobal() {
694694 assertMesh (" GetMeshNodesGlobal" );
695695 return sys->GetMeshNodesGlobal (obj->ownerID );
696696}
697- std::vector<std::vector<float >> DEMTracker::GetMeshNodesGlobalAsVectorOfVector () {
698- std::vector<float3> res = GetMeshNodesGlobal ();
699- std::vector<std::vector<float >> vector_nodes (res.size ());
700- for (size_t i = 0 ; i < res.size (); i++) {
701- std::vector<float > float_elem = {res[i].x , res[i].y , res[i].z };
702- vector_nodes[i] = float_elem;
703- }
704- return vector_nodes;
705- }
706697
707698void DEMTracker::SetOwnerWildcardValue (const std::string& name, float wc, size_t offset) {
708699 assertOwnerOffsetValid (offset, " SetOwnerWildcardValue" );
Original file line number Diff line number Diff line change @@ -305,9 +305,6 @@ class DEMTracker {
305305 // / @brief Get the current locations of all the nodes in the mesh being tracked.
306306 // / @return A vector of float3 representing the global coordinates of the mesh nodes.
307307 std::vector<float3> GetMeshNodesGlobal ();
308- // / @brief Get the current locations of all the nodes in the mesh being tracked.
309- // / @details C++ users do not have to use this method. This is mainly for python wrapper.
310- std::vector<std::vector<float >> GetMeshNodesGlobalAsVectorOfVector ();
311308
312309 // / @brief Set owner wildcard value of a owner this tracker is tracking.
313310 // / @param name Name of the wildcard.
You can’t perform that action at this time.
0 commit comments