Basic ContactAccessor for the ContactStorage.
Provides get, set and getRef for all members of the ContactStorage. Can be used as a basis class for a more advanced ContactAccessor.
|
| | ContactAccessor (const std::shared_ptr< data::ContactStorage > &ps) |
| |
| | ~ContactAccessor () override=default |
| |
| const walberla::id_t & | getUid (const size_t p_idx) const |
| |
| walberla::id_t & | getUidRef (const size_t p_idx) |
| |
| void | setUid (const size_t p_idx, const walberla::id_t &v) |
| |
| const walberla::id_t & | getId1 (const size_t p_idx) const |
| |
| walberla::id_t & | getId1Ref (const size_t p_idx) |
| |
| void | setId1 (const size_t p_idx, const walberla::id_t &v) |
| |
| const walberla::id_t & | getId2 (const size_t p_idx) const |
| |
| walberla::id_t & | getId2Ref (const size_t p_idx) |
| |
| void | setId2 (const size_t p_idx, const walberla::id_t &v) |
| |
| const real_t & | getDistance (const size_t p_idx) const |
| |
| real_t & | getDistanceRef (const size_t p_idx) |
| |
| void | setDistance (const size_t p_idx, const real_t &v) |
| |
| const walberla::mesa_pd::Vec3 & | getNormal (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getNormalRef (const size_t p_idx) |
| |
| void | setNormal (const size_t p_idx, const walberla::mesa_pd::Vec3 &v) |
| |
| const walberla::mesa_pd::Vec3 & | getPosition (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getPositionRef (const size_t p_idx) |
| |
| void | setPosition (const size_t p_idx, const walberla::mesa_pd::Vec3 &v) |
| |
| const walberla::mesa_pd::Vec3 & | getT (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getTRef (const size_t p_idx) |
| |
| void | setT (const size_t p_idx, const walberla::mesa_pd::Vec3 &v) |
| |
| const walberla::mesa_pd::Vec3 & | getO (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getORef (const size_t p_idx) |
| |
| void | setO (const size_t p_idx, const walberla::mesa_pd::Vec3 &v) |
| |
| const walberla::mesa_pd::Vec3 & | getR1 (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getR1Ref (const size_t p_idx) |
| |
| void | setR1 (const size_t p_idx, const walberla::mesa_pd::Vec3 &v) |
| |
| const walberla::mesa_pd::Vec3 & | getR2 (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getR2Ref (const size_t p_idx) |
| |
| void | setR2 (const size_t p_idx, const walberla::mesa_pd::Vec3 &v) |
| |
| const real_t & | getMu (const size_t p_idx) const |
| |
| real_t & | getMuRef (const size_t p_idx) |
| |
| void | setMu (const size_t p_idx, const real_t &v) |
| |
| const walberla::mesa_pd::Vec3 & | getP (const size_t p_idx) const |
| |
| walberla::mesa_pd::Vec3 & | getPRef (const size_t p_idx) |
| |
| void | setP (const size_t p_idx, const walberla::mesa_pd::Vec3 &v) |
| |
| const walberla::mesa_pd::Mat3 & | getDiag_nto (const size_t p_idx) const |
| |
| walberla::mesa_pd::Mat3 & | getDiag_ntoRef (const size_t p_idx) |
| |
| void | setDiag_nto (const size_t p_idx, const walberla::mesa_pd::Mat3 &v) |
| |
| const walberla::mesa_pd::Mat3 & | getDiag_nto_inv (const size_t p_idx) const |
| |
| walberla::mesa_pd::Mat3 & | getDiag_nto_invRef (const size_t p_idx) |
| |
| void | setDiag_nto_inv (const size_t p_idx, const walberla::mesa_pd::Mat3 &v) |
| |
| const walberla::mesa_pd::Mat2 & | getDiag_to_inv (const size_t p_idx) const |
| |
| walberla::mesa_pd::Mat2 & | getDiag_to_invRef (const size_t p_idx) |
| |
| void | setDiag_to_inv (const size_t p_idx, const walberla::mesa_pd::Mat2 &v) |
| |
| const real_t & | getDiag_n_inv (const size_t p_idx) const |
| |
| real_t & | getDiag_n_invRef (const size_t p_idx) |
| |
| void | setDiag_n_inv (const size_t p_idx, const real_t &v) |
| |
| id_t | getInvalidUid () const |
| |
| size_t | getInvalidIdx () const |
| |
| size_t | uidToIdx (const id_t &uid) const |
| | Returns the index of Contact specified by uid.
|
| |
| size_t | size () const |
| |
| size_t | create (const id_t &uid) |
| |
| size_t | erase (const size_t &idx) |
| |
| size_t | find (const id_t &uid) |
| |
| virtual | ~IContactAccessor ()=default |
| |