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

heterogenous material and supporter bones #897

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 2 additions & 8 deletions projects/CuLagrange/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,11 @@ target_sources(zeno PRIVATE
# fem/Check.cu
fem/Generation.cpp

# fem/test.cpp
# fem/QuasiStaticStepping.cu

# fem/FastQuasiStaticStepping.cu
fem/FleshQuasiStepping.cu

fem/FleshDynamicStepping.cu # CHECK THIS
fem/collision_energy/vertex_face_collision.hpp
fem/collision_energy/vertex_face_sqrt_collision.hpp
fem/collision_energy/edge_edge_collision.hpp
fem/collision_energy/edge_edge_sqrt_collition.hpp
# fem/collision_energy/edge_edge_collision.hpp
# fem/collision_energy/edge_edge_sqrt_collition.hpp
fem/collision_energy/evaluate_collision.hpp
fem/collision_energy/collision_utils.hpp
)
Expand Down
719 changes: 0 additions & 719 deletions projects/CuLagrange/fem/FastQuasiStaticStepping.cu

This file was deleted.

1,321 changes: 735 additions & 586 deletions projects/CuLagrange/fem/FleshDynamicStepping.cu

Large diffs are not rendered by default.

588 changes: 0 additions & 588 deletions projects/CuLagrange/fem/FleshQuasiStepping.cu

This file was deleted.

349 changes: 0 additions & 349 deletions projects/CuLagrange/fem/QuasiStaticStepping.cu

This file was deleted.

696 changes: 420 additions & 276 deletions projects/CuLagrange/fem/collision_energy/collision_utils.hpp

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions projects/CuLagrange/fem/collision_energy/edge_edge_collision.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,10 @@ namespace EDGE_EDGE_COLLISION {
// ndotHessian = ndot_hessian(x);
const MATRIX12 springLengthH = springLengthHessian(e,n,diff,a,b);

return (REAL)2.0 * _mu * (dyadic_prod(springLengthGrad,springLengthGrad) +
springLength * springLengthH);
//return 2.0 * _mu * (springLengthGrad * springLengthGrad.transpose() +
// springLength * springLengthH);

return (REAL)2.0 * _mu * dyadic_prod(springLengthGrad,springLengthGrad);
}

///////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -288,8 +290,11 @@ namespace EDGE_EDGE_COLLISION {

//return 2.0 * _mu * (springLengthGrad * springLengthGrad.transpose() +
// springLength * springLengthH);
return (REAL)-2.0 * _mu * (springLength * springLengthH -
zs::dyadic_prod(springLengthGrad,springLengthGrad));
// return (REAL)-2.0 * _mu * (springLength * springLengthH -
// zs::dyadic_prod(springLengthGrad,springLengthGrad));

return (REAL)2.0 * _mu * zs::dyadic_prod(springLengthGrad,springLengthGrad);

}

};
Expand Down
227 changes: 0 additions & 227 deletions projects/CuLagrange/fem/collision_energy/edge_edge_sqrt_collision.hpp

This file was deleted.

Loading