Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eigen alloc #11

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,38 @@
# Temporary Backup files
*~

# Compiled Object files
*.slo
*.lo
*.o
*.obj
*.pyc

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran Module files
*.mod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# Build Folder
build/*
xcodebuild/*
build2/*
xcodebuild2/*
2 changes: 2 additions & 0 deletions src/ABInertia.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ class ABInertia
matrix3_t M_;
matrix3_t H_;
matrix3_t I_;
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
};

template<typename T, typename T2>
Expand Down
2 changes: 2 additions & 0 deletions src/ForceVec.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ class ForceVec
private:
vector3_t couple_;
vector3_t force_;
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
};

template<typename T, typename T2>
Expand Down
2 changes: 2 additions & 0 deletions src/MotionVec.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ class MotionVec
private:
vector3_t angular_;
vector3_t linear_;
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
};

template<typename T, typename T2>
Expand Down
2 changes: 2 additions & 0 deletions src/PTransform.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ class PTransform
private:
matrix3_t E_;
vector3_t r_;
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
};


Expand Down
2 changes: 2 additions & 0 deletions src/RBInertia.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ class RBInertia
T m_;
vector3_t h_;
matrix3_t I_;
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
};

template <typename T, typename T2>
Expand Down