Flow123d  master-1d42d53
Classes | Typedefs
interpolant.hh File Reference


More...

#include <utility>
#include <vector>
#include "tools/include_fadbad.hh"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Extrapolation
 
struct  ErrorNorm
 
struct  IFixVariable
 
class  InterpolantBase
 Base class for interpolation. More...
 
struct  InterpolantBase::EvalStatistics
 Structure that keeps statistics of evaluation. More...
 
struct  InterpolantBase::Check
 
class  Interpolant
 The main class for interpolation of functors. More...
 
class  InterpolantImplicit
 

Typedefs

typedef std::pair< double, double > DiffValue
 

Detailed Description


 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file interpolant.hh.

Typedef Documentation

◆ DiffValue

typedef std::pair<double,double> DiffValue

This pair contains both the function and the first derivative values and is used to as return value for functions of interpolation objects. The reason is that the FADBAD++ library computes both function value and derivative value at the same time. So when we use FADBAD++ in interpolant classes to compute derivates, we also return both values and we stick to it in interpolation evaluation also. We use the form

pair<function_value, derivative_value> 

.

Definition at line 35 of file interpolant.hh.