Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Jul 3, 2024
1 parent c9362e4 commit a7b33d0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ class FastTetrahedralCorotationalForceField : public BaseLinearElasticityFEMForc
Data<std::string> d_method; ///< method for rotation computation :"qr" (by QR) or "polar" or "polar2" or "none" (Linear elastic)
RotationDecompositionMethod m_decompositionMethod;

Real lambda; /// first Lame coefficient
Real mu; /// second Lame coefficient

Data<bool> d_drawing; ///< draw the forcefield if true
Data<sofa::type::RGBAColor> d_drawColor1; ///< draw color for faces 1
Data<sofa::type::RGBAColor> d_drawColor2; ///< draw color for faces 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ FastTetrahedralCorotationalForceField<DataTypes>::FastTetrahedralCorotationalFor
, d_tetrahedronInfo(initData(&d_tetrahedronInfo, "tetrahedronInfo", "Internal tetrahedron data"))
, _initialPoints(0)
, d_method(initData(&d_method, std::string("qr"), "method", " method for rotation computation :\"qr\" (by QR) or \"polar\" or \"polar2\" or \"none\" (Linear elastic) "))
, lambda(0)
, mu(0)
, d_drawing(initData(&d_drawing, true, "drawing", " draw the forcefield if true"))
, d_drawColor1(initData(&d_drawColor1, sofa::type::RGBAColor(0.0f, 0.0f, 1.0f, 1.0f), "drawColor1", " draw color for faces 1"))
, d_drawColor2(initData(&d_drawColor2, sofa::type::RGBAColor(0.0f, 0.5f, 1.0f, 1.0f), "drawColor2", " draw color for faces 2"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ class TetrahedronFEMForceField : public BaseLinearElasticityFEMForceField<DataTy
~TetrahedronFEMForceField() override;

public:
void setComputeGlobalMatrix(bool val) { this->_assembling.setValue(val); }
void setComputeGlobalMatrix(bool val) { this->d_assembling.setValue(val); }

//for tetra mapping, should be removed in future
const Transformation& getActualTetraRotation(Index index);
Expand Down

0 comments on commit a7b33d0

Please sign in to comment.