DUNE PDELab (git)

Implements a vector constructed from a given type representing a field and a compile-time given size. More...

#include <array>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <type_traits>
#include <utility>
#include <initializer_list>
#include <dune/common/boundschecking.hh>
#include <dune/common/densevector.hh>
#include <dune/common/ftraits.hh>
#include <dune/common/math.hh>
#include <dune/common/promotiontraits.hh>
#include <dune/common/typetraits.hh>
#include <dune/common/typeutilities.hh>

Go to the source code of this file.

Classes

struct  Dune::IsFieldVectorSizeCorrect< C, SIZE >
 TMP to check the size of a DenseVectors statically, if possible. More...
 
class  Dune::FieldVector< K, SIZE >
 vector space out of a tensor product of fields. More...
 

Namespaces

namespace  Dune
 Dune namespace.
 
namespace  Dune::MathOverloads
 namespace for customization of math functions with Dune-Semantics
 

Functions

template<class K , int SIZE>
auto Dune::MathOverloads::isFinite (const FieldVector< K, SIZE > &b, PriorityTag< 2 >, ADLTag)
 Returns whether all entries are finite.
 
template<class K , int SIZE>
bool Dune::MathOverloads::isInf (const FieldVector< K, SIZE > &b, PriorityTag< 2 >, ADLTag)
 Returns whether any entry is infinite.
 
template<class K , int SIZE, std::enable_if_t< HasNaN< K >::value, int > = 0>
bool Dune::MathOverloads::isNaN (const FieldVector< K, SIZE > &b, PriorityTag< 2 >, ADLTag)
 Returns whether any entry is NaN.
 
template<class K , std::enable_if_t< HasNaN< K >::value, int > = 0>
bool Dune::MathOverloads::isUnordered (const FieldVector< K, 1 > &b, const FieldVector< K, 1 > &c, PriorityTag< 2 >, ADLTag)
 Returns true if either b or c is NaN.
 

Detailed Description

Implements a vector constructed from a given type representing a field and a compile-time given size.

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