コード例 #1
0
ファイル: BCBase.cpp プロジェクト: nuraiman/lifev
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();
}
コード例 #2
0
 //! 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 ]);
 }
コード例 #3
0
ファイル: BCBase.cpp プロジェクト: nuraiman/lifev
ID BCBase::component( const ID i ) const
{
    ASSERT_BD( i < M_components.size() );
    return M_components[ i ];
}
コード例 #4
0
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!
}