dune-mmesh (1.4)
geometry.hh
Go to the documentation of this file.
58 : BaseType( GeometryTypes::simplex(mydim), std::array<FVector, 1>( { makeFieldVector( hostEntity->point() ) } ) )
78 static inline std::array<FVector, 2> getVertices ( const typename GridImp::template MMeshInterfaceEntity<0>& hostEntity )
80 const auto& cgalIdx = MMeshInterfaceImpl::computeCGALIndices<typename GridImp::template MMeshInterfaceEntity<0>, 1> ( hostEntity );
110 MMeshInterfaceGridGeometry(const typename GridImp::template MMeshInterfaceEntity<0>& hostEntity)
120 MMeshInterfaceGridGeometry(const typename GridImp::template MMeshInterfaceEntity<1>& hostEntity)
125 MMeshInterfaceGridGeometry(const typename GridImp::template MMeshInterfaceEntity<2>& hostEntity)
126 : BaseType( GeometryTypes::simplex(mydim), std::array<FVector, 1>( { makeFieldVector( hostEntity->point() ) } ) )
138 static inline std::array<FVector, 3> getVertices ( const typename GridImp::template MMeshInterfaceEntity<0>& hostEntity )
140 const auto& cgalIdx = MMeshInterfaceImpl::computeCGALIndices<typename GridImp::template MMeshInterfaceEntity<0>, 2> ( hostEntity );
154 static inline std::array<FVector, 2> getVertices ( const typename GridImp::template MMeshInterfaceEntity<1>& hostEntity )
MMeshInterfaceGridGeometry(const std::array< FVector, 2 > &points)
Constructor from vertex array.
Definition: geometry.hh:193
MMeshInterfaceGridGeometry(int i)
Constructor for local geometry of intersection from intersection index.
Definition: geometry.hh:188
const FVector circumcenter() const
Obtain the circumcenter.
Definition: geometry.hh:72
MMeshInterfaceGridGeometry(const typename GridImp::template MMeshInterfaceEntity< 1 > &hostEntity)
Constructor from host geometry with codim 1.
Definition: geometry.hh:57
MMeshInterfaceGridGeometry(const typename GridImp::template MMeshInterfaceEntity< 0 > &hostEntity)
Constructor from host geometry with codim 0.
Definition: geometry.hh:47
MMeshInterfaceGridGeometry(int i)
Constructor for local geometry of intersection from intersection index for 3D.
Definition: geometry.hh:62
MMeshInterfaceGridGeometry(const std::array< FVector, 2 > &points)
Constructor from vertex array.
Definition: geometry.hh:52
MMeshInterfaceGridGeometry(const typename GridImp::template MMeshInterfaceEntity< 0 > &hostEntity)
Constructor from host geometry with codim 0.
Definition: geometry.hh:110
MMeshInterfaceGridGeometry(const std::array< FVector, 3 > &points)
Constructor from vertex list.
Definition: geometry.hh:115
MMeshInterfaceGridGeometry(const typename GridImp::template MMeshInterfaceEntity< 2 > &hostEntity)
Constructor from host geometry with codim 2.
Definition: geometry.hh:125
const FVector circumcenter() const
Obtain the circumcenter.
Definition: geometry.hh:130
MMeshInterfaceGridGeometry(const typename GridImp::template MMeshInterfaceEntity< 1 > &hostEntity)
Constructor from host geometry with codim 1.
Definition: geometry.hh:120
STL namespace.
Helpers for conversion from CGAL::Point_x to DUNE::FieldVector.
auto computeCircumcenter(const Geometry &geo)
Compute circumcenter.
Definition: pointfieldvector.hh:82
