h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <string>
#include <iostream>
#include <float.h>
#include "../system/Id.h"
#include "../system/Precision.h"
#include "../winged_edge/Nature.h"
#include "Functions0D.h"
Go to the source code of this file.
Classes | |
class | Interface1D |
Enumerations | |
enum | IntegrationType { MEAN, MIN, MAX, FIRST, LAST } |
Functions | |
template<class T> | |
T | integrate (UnaryFunction0D< T > &fun, Interface0DIterator it, Interface0DIterator it_end, IntegrationType integration_type=MEAN) |
enum IntegrationType |
The different integration methods that can be invoked to integrate into a single value the set of values obtained from each 0D element of a 1D element.
T integrate | ( | UnaryFunction0D< T > & | fun, | |
Interface0DIterator | it, | |||
Interface0DIterator | it_end, | |||
IntegrationType | integration_type = MEAN | |||
) |
Returns a single value from a set of values evaluated at each 0D element of this 1D element.
fun | The UnaryFunction0D used to compute a value at each Interface0D. | |
it | The Interface0DIterator used to iterate over the 0D elements of this 1D element. The integration will occur over the 0D elements starting from the one pointed by it. | |
it_end | The Interface0DIterator pointing the end of the 0D elements of the 1D element. | |
integration_type | The integration method used to compute a single value from a set of values. |