|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
geometrygridpart/intersection.hh
Go to the documentation of this file.
52 GeometryGridPartIntersection ( const GridFunctionType &gridFunction, const typename ElementGeometry::Implementation &insideGeo, HostIntersectionType hostIntersection )
53 : hostIntersection_( std::move( hostIntersection ) ), gridFunction_( &gridFunction ), insideGeo_( insideGeo )
58 Entity inside () const { return Entity( typename Entity::Implementation( gridFunction(), hostIntersection().inside() )); }
59 Entity outside () const { return Entity( typename Entity::Implementation( gridFunction(), hostIntersection().outside() )); }
83 return Geometry( Impl( insideGeo_, geometryInInside(), 2*insideGeo_.impl().localFunction().order()+1 ) );
86 bool equals ( const This &other ) const { return hostIntersection() == other.hostIntersection(); }
102 // double det = std::sqrt( GeometryGridPartGeometryType::MatrixHelper::template detATA<dimensionworld,dimension>( jit ) );
147 void crossProduct(const FieldVector< ctype, dimensionworld > &vec1, const FieldVector< ctype, dimensionworld > &vec2, FieldVector< ctype, dimensionworld > &ret) const
159 const auto &refElement = Dune::ReferenceElements< ctype, dimension >::general( insideGeo_.type() );
163 insideGeo_.jacobianInverseTransposed( geometryInInside().global( local ) ).mv( refNormal, normal );
const GlobalIndex & global() const
LocalIndex & local()
STL namespace.
constexpr FieldTraits< value_type >::real_type two_norm() const
GeometryImp< mydim, cdim, GridImp > Implementation
Definition geometrygridpart/intersection.hh:24
Traits::template Codim< 1 >::LocalGeometry LocalGeometry
Definition geometrygridpart/intersection.hh:37
Geometry geometry() const
Definition geometrygridpart/intersection.hh:80
GeometryGridPartIntersection(const GridFunctionType &gridFunction, const typename ElementGeometry::Implementation &insideGeo, HostIntersectionType hostIntersection)
Definition geometrygridpart/intersection.hh:52
int indexInOutside() const
Definition geometrygridpart/intersection.hh:91
bool boundary() const
Definition geometrygridpart/intersection.hh:65
FieldVector< ctype, dimensionworld > GlobalCoordinate
Definition geometrygridpart/intersection.hh:41
FieldVector< ctype, dimension-1 > LocalCoordinate
Definition geometrygridpart/intersection.hh:42
int twistInNeighbor() const
Definition geometrygridpart/intersection.hh:71
static const int dimension
Definition geometrygridpart/intersection.hh:31
Traits::template Codim< 0 >::Geometry ElementGeometry
Definition geometrygridpart/intersection.hh:35
LocalGeometry geometryInOutside() const
Definition geometrygridpart/intersection.hh:78
Traits::template Codim< 0 >::Entity Entity
Definition geometrygridpart/intersection.hh:34
int indexInInside() const
Definition geometrygridpart/intersection.hh:90
GlobalCoordinate integrationOuterNormal(const LocalCoordinate &local) const
Definition geometrygridpart/intersection.hh:93
static const int dimensionworld
Definition geometrygridpart/intersection.hh:32
GlobalCoordinate centerUnitOuterNormal() const
Definition geometrygridpart/intersection.hh:173
bool equals(const This &other) const
Definition geometrygridpart/intersection.hh:86
LocalGeometry geometryInInside() const
Definition geometrygridpart/intersection.hh:77
bool conforming() const
Definition geometrygridpart/intersection.hh:67
const GridFunctionType & gridFunction() const
Definition geometrygridpart/intersection.hh:185
std::size_t boundarySegmentIndex() const
Definition geometrygridpart/intersection.hh:75
std::remove_const< GridFamily >::type::ctype ctype
Definition geometrygridpart/intersection.hh:29
Entity inside() const
Definition geometrygridpart/intersection.hh:58
GlobalCoordinate unitOuterNormal(const LocalCoordinate &local) const
Definition geometrygridpart/intersection.hh:167
GeometryType type() const
Definition geometrygridpart/intersection.hh:88
Traits::template Codim< 1 >::Geometry Geometry
Definition geometrygridpart/intersection.hh:36
GlobalCoordinate outerNormal(const LocalCoordinate &local) const
Definition geometrygridpart/intersection.hh:157
Entity outside() const
Definition geometrygridpart/intersection.hh:59
Traits::GridFunctionType GridFunctionType
Definition geometrygridpart/intersection.hh:39
const HostIntersectionType & hostIntersection() const
Definition geometrygridpart/intersection.hh:183
GeometryGridPartIntersection()=default
bool neighbor() const
Definition geometrygridpart/intersection.hh:73
int twistInSelf() const
Definition geometrygridpart/intersection.hh:69
int boundaryId() const
Definition geometrygridpart/intersection.hh:61
Definition boundaryidprovider.hh:27
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8