NeoPZ
pzgeom_utility.cpp
Go to the documentation of this file.
1 //
2 // pzgeom_utility.c
3 // AcoplamentoH1Hdiv
4 //
5 // Created by Philippe Devloo on 31/08/19.
6 //
7 
8 #include "pzgeom_utility.h"
9 
10 #ifdef LOG4CXX
11 static LoggerPtr logger(Logger::getLogger("pz.geom.pzgeom_util"));
12 #endif
13 
14 
15 using namespace pzgeom;
16 
17 
18 using namespace pztopology;
19 
20 template bool IsInSideParametricDomain<TPZPoint>(int side, const TPZVec<REAL> &pt, REAL tol);
21 template bool IsInSideParametricDomain<TPZLine>(int side, const TPZVec<REAL> &pt, REAL tol);
22 template bool IsInSideParametricDomain<TPZQuadrilateral>(int side, const TPZVec<REAL> &pt, REAL tol);
23 template bool IsInSideParametricDomain<TPZTriangle>(int side, const TPZVec<REAL> &pt, REAL tol);
24 template bool IsInSideParametricDomain<TPZPyramid>(int side, const TPZVec<REAL> &pt, REAL tol);
25 template bool IsInSideParametricDomain<TPZTetrahedron>(int side, const TPZVec<REAL> &pt, REAL tol);
26 template bool IsInSideParametricDomain<TPZPrism>(int side, const TPZVec<REAL> &pt, REAL tol);
27 template bool IsInSideParametricDomain<TPZCube>(int side, const TPZVec<REAL> &pt, REAL tol);
28 
29 
30 template void GetSideShapeFunction<TPZPoint>(int , TPZVec<REAL> &, TPZFMatrix<REAL> &,TPZFMatrix<REAL> &);
31 template void GetSideShapeFunction<TPZLine>(int , TPZVec<REAL> &, TPZFMatrix<REAL> &,TPZFMatrix<REAL> &);
32 template void GetSideShapeFunction<TPZTriangle>(int , TPZVec<REAL> &, TPZFMatrix<REAL> &,TPZFMatrix<REAL> &);
33 template void GetSideShapeFunction<TPZQuadrilateral>(int , TPZVec<REAL> &, TPZFMatrix<REAL> &,TPZFMatrix<REAL> &);
34 template void GetSideShapeFunction<TPZPyramid>(int , TPZVec<REAL> &, TPZFMatrix<REAL> &,TPZFMatrix<REAL> &);
35 template void GetSideShapeFunction<TPZTetrahedron>(int , TPZVec<REAL> &, TPZFMatrix<REAL> &,TPZFMatrix<REAL> &);
36 template void GetSideShapeFunction<TPZPrism>(int , TPZVec<REAL> &, TPZFMatrix<REAL> &,TPZFMatrix<REAL> &);
37 template void GetSideShapeFunction<TPZCube>(int , TPZVec<REAL> &, TPZFMatrix<REAL> &,TPZFMatrix<REAL> &);
38 
39 #ifdef _AUTODIFF
40 #include "fad.h"
41 //template<class T=REAL>
42 //class Fad;
43 template void GetSideShapeFunction<TPZPoint>(int , TPZVec<Fad<REAL>> &, TPZFMatrix<Fad<REAL>> &,TPZFMatrix<Fad<REAL>> &);
44 template void GetSideShapeFunction<TPZLine>(int , TPZVec<Fad<REAL>> &, TPZFMatrix<Fad<REAL>> &,TPZFMatrix<Fad<REAL>> &);
45 template void GetSideShapeFunction<TPZTriangle>(int , TPZVec<Fad<REAL>> &, TPZFMatrix<Fad<REAL>> &,TPZFMatrix<Fad<REAL>> &);
46 template void GetSideShapeFunction<TPZQuadrilateral>(int , TPZVec<Fad<REAL>> &, TPZFMatrix<Fad<REAL>> &,TPZFMatrix<Fad<REAL>> &);
47 template void GetSideShapeFunction<TPZPyramid>(int , TPZVec<Fad<REAL>> &, TPZFMatrix<Fad<REAL>> &,TPZFMatrix<Fad<REAL>> &);
48 template void GetSideShapeFunction<TPZTetrahedron>(int , TPZVec<Fad<REAL>> &, TPZFMatrix<Fad<REAL>> &,TPZFMatrix<Fad<REAL>> &);
49 template void GetSideShapeFunction<TPZPrism>(int , TPZVec<Fad<REAL>> &, TPZFMatrix<Fad<REAL>> &,TPZFMatrix<Fad<REAL>> &);
50 template void GetSideShapeFunction<TPZCube>(int , TPZVec<Fad<REAL>> &, TPZFMatrix<Fad<REAL>> &,TPZFMatrix<Fad<REAL>> &);
51 
52 #endif
template bool IsInSideParametricDomain< TPZPoint >(int side, const TPZVec< REAL > &pt, REAL tol)
template void GetSideShapeFunction< TPZPyramid >(int, TPZVec< REAL > &, TPZFMatrix< REAL > &, TPZFMatrix< REAL > &)
template bool IsInSideParametricDomain< TPZQuadrilateral >(int side, const TPZVec< REAL > &pt, REAL tol)
template void GetSideShapeFunction< TPZLine >(int, TPZVec< REAL > &, TPZFMatrix< REAL > &, TPZFMatrix< REAL > &)
static const double tol
Definition: pzgeoprism.cpp:23
Groups all classes defining the structure of the master element.
Definition: PrismExtend.cpp:15
template bool IsInSideParametricDomain< TPZPrism >(int side, const TPZVec< REAL > &pt, REAL tol)
template bool IsInSideParametricDomain< TPZTriangle >(int side, const TPZVec< REAL > &pt, REAL tol)
template void GetSideShapeFunction< TPZQuadrilateral >(int, TPZVec< REAL > &, TPZFMatrix< REAL > &, TPZFMatrix< REAL > &)
template void GetSideShapeFunction< TPZPrism >(int, TPZVec< REAL > &, TPZFMatrix< REAL > &, TPZFMatrix< REAL > &)
template void GetSideShapeFunction< TPZCube >(int, TPZVec< REAL > &, TPZFMatrix< REAL > &, TPZFMatrix< REAL > &)
template bool IsInSideParametricDomain< TPZCube >(int side, const TPZVec< REAL > &pt, REAL tol)
template bool IsInSideParametricDomain< TPZPyramid >(int side, const TPZVec< REAL > &pt, REAL tol)
template void GetSideShapeFunction< TPZTetrahedron >(int, TPZVec< REAL > &, TPZFMatrix< REAL > &, TPZFMatrix< REAL > &)
template bool IsInSideParametricDomain< TPZLine >(int side, const TPZVec< REAL > &pt, REAL tol)
template bool IsInSideParametricDomain< TPZTetrahedron >(int side, const TPZVec< REAL > &pt, REAL tol)
Groups all classes which model the geometry.
Definition: pzgeopoint.cpp:18
template void GetSideShapeFunction< TPZTriangle >(int, TPZVec< REAL > &, TPZFMatrix< REAL > &, TPZFMatrix< REAL > &)
template void GetSideShapeFunction< TPZPoint >(int, TPZVec< REAL > &, TPZFMatrix< REAL > &, TPZFMatrix< REAL > &)