24 #include <type_traits>
38 template<
typename T >
121 template<
typename I,
typename D,
122 typename std::enable_if<std::is_integral<I>::value,
int>::type = 0,
123 typename std::enable_if<std::is_arithmetic<D>::value,
int>::type = 0
136 {
values = std::vector<D>( (_x_degree_)*(_y_degree_), defVal ); }
211 typename GESICHTSTYP,
212 typename SENKRECHTENTYP
248 template <
typename VRT,
typename IndTyp >
263 if( numbCrossFracs == 2 )
267 if( numbCrossFracs == 3 )
271 else if( numbCrossFracs == 4 )
277 UG_LOG(
"frac typ wrong " << numbCrossFracs << std::endl);
296 std::pair<VRT, bool > addSVI( vrt, isAtFreeSide );
303 UG_THROW(
"was ist das fuer ein T Ende" << std::endl);
341 UG_THROW(
"fuer Kreuz nicht erlaubt " << std::endl);
Definition: support.h:250
std::vector< VRT > getVecShiftedVrts() const
Definition: support.h:330
IndTyp m_numbCrossFracs
Definition: support.h:368
FracTyp getFracTyp() const
Definition: support.h:284
CrossingVertexInfo(VRT const &crossVrt, IndTyp numbCrossFracs)
Definition: support.h:256
VRT m_crossVrt
Definition: support.h:367
std::vector< VRT > m_vecShiftedVrts
Definition: support.h:369
IndTyp m_numberAtFreeSide
Definition: support.h:376
VRT getCrossVertex() const
Definition: support.h:281
void addShiftVrtx(VRT const &vrt, bool isAtFreeSide=false)
Definition: support.h:286
FracTyp
Definition: support.h:254
@ SingleFrac
Definition: support.h:254
@ XCross
Definition: support.h:254
@ TEnd
Definition: support.h:254
void setShiftVrtx(std::vector< VRT > const &vecVrt)
Definition: support.h:314
std::vector< std::pair< VRT, bool > > m_vecShiftedVrtsWithTypInf
Definition: support.h:370
FracTyp m_fracTyp
Definition: support.h:375
std::vector< std::pair< VRT, bool > > getVecShiftedVrtsWithTypInfo() const
Definition: support.h:338
Definition: support.h:127
I x_degree
Definition: support.h:155
MatrixTwoIndices()
Definition: support.h:131
std::vector< D > values
Definition: support.h:154
MatrixTwoIndices(I _x_degree_, I _y_degree_, D defVal=0)
Definition: support.h:134
D & operator()(I i, I j)
Definition: support.h:146
I y_degree
Definition: support.h:155
D const operator()(I i, I j) const
Definition: support.h:139
Definition: support.h:182
T_min(T val)
Definition: support.h:187
void operator()(T val)
Definition: support.h:193
T_min()
Definition: support.h:203
T minval
Definition: support.h:194
T const operator()() const
Definition: support.h:190
void setIsBndFracVertex(bool iBDV=true)
Definition: support.h:54
bool getIsBndFracVertex()
Definition: support.h:64
VertexFractureProperties(bool isBndFracVertex, T numberCrossingFracsInVertex)
Definition: support.h:43
bool m_isBndFracVertex
Definition: support.h:113
VertexFractureProperties & operator++(int a)
Definition: support.h:105
T m_numberCountedFracsInVertex
Definition: support.h:114
T getNumberFracEdgesInVertex()
Definition: support.h:75
void setNumberCrossingFracsInVertex(T const &nCFIV)
Definition: support.h:59
VertexFractureProperties()
Definition: support.h:49
Definition: support.h:215
ECKENTYP const getEdge() const
Definition: support.h:224
ECKENTYP m_edge
Definition: support.h:235
VertexFractureTriple(ECKENTYP const &edge, GESICHTSTYP const &face, SENKRECHTENTYP const &normal)
Definition: support.h:219
SENKRECHTENTYP const getNewNormal() const
Definition: support.h:231
GESICHTSTYP m_face
Definition: support.h:236
SENKRECHTENTYP m_normal
Definition: support.h:237
SENKRECHTENTYP m_newNormal
Definition: support.h:238
VertexFractureTriple()
Definition: support.h:240
GESICHTSTYP const getFace() const
Definition: support.h:226
void setNewNormal(SENKRECHTENTYP const &chNorml)
Definition: support.h:230
SENKRECHTENTYP const getNormal() const
Definition: support.h:228
#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