|
dune-common 2.8.0
|
Loading...
Searching...
No Matches
fvector.hh
Go to the documentation of this file.
103 };
169 [[maybe_unused]] typename std::enable_if<IsFieldVectorSizeCorrect<C,SIZE>::value>::type* dummy=0)
332 static_assert(((bool)IsFieldVectorSizeCorrect<C,1>::value), "FieldVectors do not match in dimension!");
Macro for wrapping boundary checks.
Type traits to determine the type of reals (when working with complex numbers)
Implements the dense vector interface, with an exchangeable storage class.
A few common exception classes.
Compute type of the result of an arithmetic operation involving two different number types.
Traits for type conversions and type information.
Some useful basic math stuff.
#define DUNE_ASSERT_BOUNDS(cond)
If DUNE_CHECK_BOUNDS is defined: check if condition cond holds; otherwise, do nothing.
Definition boundschecking.hh:28
bigunsignedint< k > operator*(const bigunsignedint< k > &x, std::uintmax_t y)
Definition bigunsignedint.hh:544
bigunsignedint< k > operator/(const bigunsignedint< k > &x, std::uintmax_t y)
Definition bigunsignedint.hh:551
bool isNaN(const FieldVector< K, SIZE > &b, PriorityTag< 2 >, ADLTag)
Definition fvector.hh:610
bool isInf(const FieldVector< K, SIZE > &b, PriorityTag< 2 >, ADLTag)
Definition fvector.hh:600
auto isFinite(const FieldVector< K, SIZE > &b, PriorityTag< 2 >, ADLTag)
Definition fvector.hh:590
bool isUnordered(const FieldVector< K, 1 > &b, const FieldVector< K, 1 > &c, PriorityTag< 2 >, ADLTag)
Definition fvector.hh:620
K * data() noexcept
return pointer to underlying array
Definition fvector.hh:201
constexpr FieldVector()
Constructor making default-initialized vector.
Definition fvector.hh:115
const value_type & const_reference
The type used for const references to the vector entry.
Definition fvector.hh:112
FieldVector(const DenseVector< C > &x, typename std::enable_if< IsFieldVectorSizeCorrect< C, SIZE >::value >::type *dummy=0)
Copy constructor from a second vector of possibly different type.
Definition fvector.hh:168
FieldVector(const FieldVector< T, N > &)=delete
FieldVector(const K &t)
Constructor making vector with identical coordinates.
Definition fvector.hh:120
FieldVector(std::initializer_list< K > const &l)
Construct from a std::initializer_list.
Definition fvector.hh:135
const K * data() const noexcept
return pointer to underlying array
Definition fvector.hh:207
FieldVector(const FieldVector< K1, SIZE > &x)
Constructor making vector with identical coordinates.
Definition fvector.hh:178
value_type & reference
The type used for references to the vector entry.
Definition fvector.hh:109
FieldVector & operator=(const FieldVector< T, N > &)=delete
Interface for a class of dense vectors over a given field.
Definition densevector.hh:227
Traits::value_type value_type
export the type representing the field
Definition densevector.hh:248
Traits::size_type size_type
The type used for the index access and size operation.
Definition densevector.hh:257
Definition ftraits.hh:24
T field_type
export the type representing the field
Definition ftraits.hh:26
T real_type
export the type representing the real type of the field
Definition ftraits.hh:28
std::array< K, SIZE > container_type
Definition fvector.hh:42
container_type::size_type size_type
Definition fvector.hh:44
FieldVector< K, SIZE > derived_type
Definition fvector.hh:41
FieldTraits< K >::real_type real_type
Definition fvector.hh:51
FieldTraits< K >::field_type field_type
Definition fvector.hh:50
TMP to check the size of a DenseVectors statically, if possible.
Definition fvector.hh:64
Tag to make sure the functions in this namespace can be found by ADL.
Definition math.hh:227
Definition matvectraits.hh:29
T begin(T... args)
T copy_n(T... args)
T data(T... args)
T fill(T... args)
T min(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8