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 VariableSet , class Method > | |
using | EvaluateVariables = decltype(evaluateVariables(std::declval< VariableSet >(), std::declval< typename VariableSet::Descriptions::Evaluators >(), std::declval< Method >())) |
The type of evaluated variables as returned by evaluateVariables. More... | |
using | Kaskade::ValueMethod = decltype(valueMethod) |
The type of the valueMethod helper functor. More... | |
using | Kaskade::DerivativeMethod = decltype(derivativeMethod) |
The type of the derivativeMethod helper functor. More... | |
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. More... | |
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. More... | |
Variables | |
constexpr auto | valueMethod = [](auto const& f, auto const& eval) { return f.value(eval); } |
Helper method for evaluating whole variable sets. More... | |
constexpr auto | derivativeMethod = [](auto const& f, auto const& eval) { return f.derivative(eval); } |
Helper method for evaluating whole variable sets. More... | |
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.