![]() |
KASKADE 7 development version
|
Variables and their descriptions. More...
#include <algorithm>#include <array>#include <cassert>#include <iostream>#include <boost/fusion/algorithm.hpp>#include <boost/fusion/include/fold.hpp>#include <boost/fusion/include/make_vector.hpp>#include <boost/fusion/include/size.hpp>#include <boost/fusion/sequence.hpp>#include <boost/mpl/int.hpp>#include <boost/type_traits/remove_reference.hpp>#include <boost/type_traits/remove_const.hpp>#include "fem/fixdune.hh"#include "fem/functionspace.hh"#include "fem/linearspace.hh"#include "io/iobase.hh"#include "linalg/crsutil.hh"Go to the source code of this file.
Namespaces | |
| namespace | Kaskade |
Typedefs | |
| template<class AnsatzVariables, class TestVariables> | |
| using | Kaskade::AllSystemBlocks |
| A type list of all possible variable combinations of the ansatz and test variables provided. | |
| template<class VariableSet, class Method> | |
| using | EvaluateVariables |
| The type of evaluated variables as returned by evaluateVariables. | |
| using | Kaskade::ValueMethod = decltype(valueMethod) |
| The type of the valueMethod helper functor. | |
| using | Kaskade::DerivativeMethod = decltype(derivativeMethod) |
| The type of the derivativeMethod helper functor. | |
Functions | |
| template<class Variables, class Functions, class Evaluators, class Method> | |
| auto | Kaskade::evaluateFunctions (Functions const &fs, Evaluators const &eval, Method const &method=Method()) |
| A function evaulating all functions in a variable set using the provided method. | |
| template<class VariableSet, class Method> | |
| auto | Kaskade::evaluateVariables (VariableSet const &vars, typename VariableSet::Descriptions::Evaluators const &eval, Method const &method=Method()) |
| A function evaulating all functions in a variable set using the provided method. | |
Variables | |
| constexpr auto | valueMethod = [](auto const& f, auto const& eval) { return f.value(eval); } |
| Helper method for evaluating whole variable sets. | |
| constexpr auto | derivativeMethod = [](auto const& f, auto const& eval) { return f.derivative(eval); } |
| Helper method for evaluating whole variable sets. | |
Variables and their descriptions.
This file contains a number of core classes of Kaskade, needed to define a problem. The important ones are:
The other classes are auxilliary
Definition in file variables.hh.