const BCIdentifierBase* BCBase::operator[] ( const ID& i ) const { ASSERT_PRE( M_finalized, "BC List should be finalized before being accessed" ); ASSERT_BD( i < M_idVector.size() ); return M_idVector[ i ].get(); }
//! Extracting a CurrentFEManifold from the faces list. const CurrentFEManifold& operator[] ( const ID& i ) const { ASSERT_BD ( i < static_cast<ID> ( M_numberBoundaryFE ) ); return * (M_boundaryFEList[ i ]); }
ID BCBase::component( const ID i ) const { ASSERT_BD( i < M_components.size() ); return M_components[ i ]; }
ID DOFInterface3Dto2D::operator[] ( const UInt& i ) const { ASSERT_PRE ( M_finalized, "The face List should be finalised before being accessed" ); ASSERT_BD ( i < M_faceList.size() ); return M_faceList[ i ].first; // M_faceList must be a vector! }