41 template<
typename T >
124template<
typename I,
typename D,
125typename std::enable_if<std::is_integral<I>::value,
int>::type = 0,
126typename std::enable_if<std::is_arithmetic<D>::value,
int>::type = 0
139 {
values = std::vector<D>( (_x_degree_)*(_y_degree_), defVal ); }
215typename SENKRECHTENTYP
251template <
typename VRT,
typename IndTyp >
266 if( numbCrossFracs == 2 )
270 if( numbCrossFracs == 3 )
274 else if( numbCrossFracs == 4 )
280 UG_LOG(
"frac typ wrong " << numbCrossFracs << std::endl);
299 std::pair<VRT, bool > addSVI( vrt, isAtFreeSide );
306 UG_THROW(
"was ist das fuer ein T Ende" << std::endl);
344 UG_THROW(
"fuer Kreuz nicht erlaubt " << std::endl);
void addShiftVrtx(VRT const &vrt, bool isAtFreeSide=false)
Definition support.h:289
std::vector< std::pair< VRT, bool > > getVecShiftedVrtsWithTypInfo() const
Definition support.h:341
IndTyp m_numbCrossFracs
Definition support.h:371
std::vector< VRT > m_vecShiftedVrts
Definition support.h:372
IndTyp m_numberAtFreeSide
Definition support.h:379
CrossingVertexInfo(VRT const &crossVrt, IndTyp numbCrossFracs)
Definition support.h:259
FracTyp
Definition support.h:257
@ SingleFrac
Definition support.h:257
@ XCross
Definition support.h:257
@ TEnd
Definition support.h:257
std::vector< std::pair< VRT, bool > > m_vecShiftedVrtsWithTypInf
Definition support.h:373
FracTyp getFracTyp() const
Definition support.h:287
FracTyp m_fracTyp
Definition support.h:378
void setShiftVrtx(std::vector< VRT > const &vecVrt)
Definition support.h:317
std::vector< VRT > getVecShiftedVrts() const
Definition support.h:333
VRT getCrossVertex() const
Definition support.h:284
VRT m_crossVrt
Definition support.h:370
I y_degree
Definition support.h:158
std::vector< D > values
Definition support.h:157
I x_degree
Definition support.h:158
MatrixTwoIndices(I _x_degree_, I _y_degree_, D defVal=0)
Definition support.h:137
D & operator()(I i, I j)
Definition support.h:149
D const operator()(I i, I j) const
Definition support.h:142
MatrixTwoIndices()
Definition support.h:134
T minval
Definition support.h:202
T const operator()() const
Definition support.h:193
T_min(T val)
Definition support.h:190
void operator()(T val)
Definition support.h:196
T_min()
Definition support.h:206
bool getIsBndFracVertex()
Definition support.h:67
VertexFractureProperties()
Definition support.h:52
void setIsBndFracVertex(bool iBDV=true)
Definition support.h:57
bool m_isBndFracVertex
Definition support.h:116
VertexFractureProperties(bool isBndFracVertex, T numberCrossingFracsInVertex)
Definition support.h:46
T m_numberCountedFracsInVertex
Definition support.h:117
void setNumberCrossingFracsInVertex(T const &nCFIV)
Definition support.h:62
VertexFractureProperties & operator++(int a)
Definition support.h:108
T getNumberFracEdgesInVertex()
Definition support.h:78
GESICHTSTYP const getFace() const
Definition support.h:229
SENKRECHTENTYP const getNormal() const
Definition support.h:231
ECKENTYP const getEdge() const
Definition support.h:227
SENKRECHTENTYP m_normal
Definition support.h:240
VertexFractureTriple(ECKENTYP const &edge, GESICHTSTYP const &face, SENKRECHTENTYP const &normal)
Definition support.h:222
ECKENTYP m_edge
Definition support.h:238
GESICHTSTYP m_face
Definition support.h:239
SENKRECHTENTYP const getNewNormal() const
Definition support.h:234
VertexFractureTriple()
Definition support.h:243
void setNewNormal(SENKRECHTENTYP const &chNorml)
Definition support.h:233
SENKRECHTENTYP m_newNormal
Definition support.h:241
#define VRT(locInd)
Definition file_io_vtu.cpp:713
#define UG_THROW(msg)
Definition error.h:57
#define UG_LOG(msg)
Definition log.h:367
Definition smart_pointer.h:814