119 #include <lifev/core/LifeV.hpp> 120 #include <lifev/core/mesh/MeshElementBare.hpp> 127 if ( i < j && i < k )
131 return std::make_pair ( BareFace ( i, j, k ),
true );
135 return std::make_pair ( BareFace ( i, k, j ),
false );
138 else if ( j < k && j < i )
142 return std::make_pair ( BareFace ( j, k, i ),
true );
146 return std::make_pair ( BareFace ( j, i, k ),
false );
153 return std::make_pair ( BareFace ( k, i, j ),
true );
157 return std::make_pair ( BareFace ( k, j, i ),
false );
166 std::vector<ID> helper ( 4 );
171 std::vector<ID>::iterator vi = std::max_element ( helper.begin(), helper.end() );
172 std::rotate ( helper.begin(), vi, helper.end() );
173 return makeBareFace ( helper[ 1 ], helper[ 2 ], helper[ 3 ] );
void updateInverseJacobian(const UInt &iQuadPt)
std::pair< BareFace, bool > makeBareFace(ID const i, ID const j, ID const k, ID const l)
It creates Bare Face objects from four Point ID's. To be used with Quad faces.
std::pair< BareFace, bool > makeBareFace(ID const i, ID const j, ID const k)
It creates Bare Face objects from three Point ID's.