Skip to content

Commit 2a227f0

Browse files
committed
Remove one more unused method
1 parent 00e5e15 commit 2a227f0

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/DEM/AuxClasses.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff 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

707698
void DEMTracker::SetOwnerWildcardValue(const std::string& name, float wc, size_t offset) {
708699
assertOwnerOffsetValid(offset, "SetOwnerWildcardValue");

src/DEM/AuxClasses.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)