24 #include <type_traits>
32 template<
typename T >
115 template<
typename I,
typename D,
116 typename std::enable_if<std::is_integral<I>::value,
int>::type = 0,
117 typename std::enable_if<std::is_arithmetic<D>::value,
int>::type = 0
130 {
values = std::vector<D>( (_x_degree_)*(_y_degree_), defVal ); }
205 typename GESICHTSTYP,
206 typename SENKRECHTENTYP
242 template <
typename VRT,
typename IndTyp >
257 if( numbCrossFracs == 2 )
261 if( numbCrossFracs == 3 )
265 else if( numbCrossFracs == 4 )
271 UG_LOG(
"frac typ wrong " << numbCrossFracs << std::endl);
290 std::pair<VRT, bool > addSVI( vrt, isAtFreeSide );
297 UG_THROW(
"was ist das fuer ein T Ende" << std::endl);
335 UG_THROW(
"fuer Kreuz nicht erlaubt " << std::endl);
Definition: support.h:244
std::vector< std::pair< VRT, bool > > getVecShiftedVrtsWithTypInfo() const
Definition: support.h:332
FracTyp getFracTyp() const
Definition: support.h:278
IndTyp m_numbCrossFracs
Definition: support.h:362
FracTyp m_fracTyp
Definition: support.h:369
CrossingVertexInfo(VRT const &crossVrt, IndTyp numbCrossFracs)
Definition: support.h:250
std::vector< std::pair< VRT, bool > > m_vecShiftedVrtsWithTypInf
Definition: support.h:364
VRT m_crossVrt
Definition: support.h:361
FracTyp
Definition: support.h:248
@ TEnd
Definition: support.h:248
@ XCross
Definition: support.h:248
@ SingleFrac
Definition: support.h:248
void addShiftVrtx(VRT const &vrt, bool isAtFreeSide=false)
Definition: support.h:280
VRT getCrossVertex() const
Definition: support.h:275
void setShiftVrtx(std::vector< VRT > const &vecVrt)
Definition: support.h:308
std::vector< VRT > getVecShiftedVrts() const
Definition: support.h:324
std::vector< VRT > m_vecShiftedVrts
Definition: support.h:363
IndTyp m_numberAtFreeSide
Definition: support.h:370
Definition: support.h:121
MatrixTwoIndices()
Definition: support.h:125
D const operator()(I i, I j) const
Definition: support.h:133
std::vector< D > values
Definition: support.h:148
D & operator()(I i, I j)
Definition: support.h:140
I y_degree
Definition: support.h:149
MatrixTwoIndices(I _x_degree_, I _y_degree_, D defVal=0)
Definition: support.h:128
I x_degree
Definition: support.h:149
Definition: support.h:176
T_min(T val)
Definition: support.h:181
T_min()
Definition: support.h:197
void operator()(T val)
Definition: support.h:187
T minval
Definition: support.h:188
T const operator()() const
Definition: support.h:184
void setNumberCrossingFracsInVertex(T const &nCFIV)
Definition: support.h:53
VertexFractureProperties()
Definition: support.h:43
void setIsBndFracVertex(bool iBDV=true)
Definition: support.h:48
bool m_isBndFracVertex
Definition: support.h:107
bool getIsBndFracVertex()
Definition: support.h:58
T getNumberFracEdgesInVertex()
Definition: support.h:69
VertexFractureProperties & operator++(int a)
Definition: support.h:99
VertexFractureProperties(bool isBndFracVertex, T numberCrossingFracsInVertex)
Definition: support.h:37
T m_numberCountedFracsInVertex
Definition: support.h:108
Definition: support.h:209
SENKRECHTENTYP const getNewNormal() const
Definition: support.h:225
SENKRECHTENTYP m_normal
Definition: support.h:231
VertexFractureTriple(ECKENTYP const &edge, GESICHTSTYP const &face, SENKRECHTENTYP const &normal)
Definition: support.h:213
SENKRECHTENTYP const getNormal() const
Definition: support.h:222
ECKENTYP m_edge
Definition: support.h:229
GESICHTSTYP m_face
Definition: support.h:230
ECKENTYP const getEdge() const
Definition: support.h:218
GESICHTSTYP const getFace() const
Definition: support.h:220
VertexFractureTriple()
Definition: support.h:234
SENKRECHTENTYP m_newNormal
Definition: support.h:232
void setNewNormal(SENKRECHTENTYP const &chNorml)
Definition: support.h:224
#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