Dune Core Modules (2.5.2)

simplex.cc File Reference

This file contains the Refinement implementation for simplices (triangles, tetrahedrons...) More...

#include <algorithm>
#include <dune/common/fvector.hh>
#include <dune/geometry/multilineargeometry.hh>
#include <dune/geometry/referenceelements.hh>
#include <dune/geometry/type.hh>
#include "base.cc"

Namespaces

namespace  Dune
 Dune namespace.
 
namespace  Dune::RefinementImp
 This namespace contains the implementation of Refinement.
 
namespace  Dune::RefinementImp::Simplex
 This namespace contains the Refinement implementation for simplices (triangles, tetrahedrons...)
 

Functions

Utilities
int Dune::RefinementImp::Simplex::factorial (int n)
 Calculate n! More...
 
int Dune::RefinementImp::Simplex::binomial (int upper, int lower)
 calculate \(\left({upper}\atop{lower}\right)\) More...
 
template<int dimension>
int Dune::RefinementImp::Simplex::pointIndex (const FieldVector< int, dimension > &point)
 calculate the index of a given gridpoint within a Kuhn0 simplex More...
 
template<int n>
FieldVector< int, n > Dune::RefinementImp::Simplex::getPermutation (int m)
 Calculate permutation from it's index. More...
 
template<int dimension, class CoordType >
FieldVector< CoordType, dimension > Dune::RefinementImp::Simplex::referenceToKuhn (FieldVector< CoordType, dimension > point, const FieldVector< int, dimension > &kuhn)
 Map from the reference simplex to some Kuhn simplex. More...
 
template<int dimension, class CoordType >
FieldVector< CoordType, dimension > Dune::RefinementImp::Simplex::kuhnToReference (FieldVector< CoordType, dimension > point, const FieldVector< int, dimension > &kuhn)
 Map from some Kuhn simplex to the reference simplex. More...
 

Detailed Description

This file contains the Refinement implementation for simplices (triangles, tetrahedrons...)

See Refinement implementation for simplices.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)