|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include <string.h>#include <stdlib.h>#include <math.h>#include <iostream>#include "../common.h"#include "integratefunction.hpp"#include "functions.hpp"#include "quadr.hpp"
Go to the source code of this file.
Functions | |
| double | lineAverage (const T3DFunction &f1, coordinate line, double accuracy, const std::array< double, 3 > &r1, double L) |
| double | surfaceAverage (const T3DFunction &f1, coordinate face, double accuracy, const std::array< double, 3 > &r1, double L1, double L2) |
| double | volumeAverage (const T3DFunction &f1, double accuracy, const std::array< double, 3 > &r1, const std::array< double, 3 > &r2) |
| double lineAverage | ( | const T3DFunction & | f1, |
| coordinate | line, | ||
| double | accuracy, | ||
| const std::array< double, 3 > & | r1, | ||
| double | L ) |
Average of f1 along a coordinate-aligned line starting from r1, having length L (can be negative) and proceeding to line'th coordinate
Definition at line 37 of file integratefunction.cpp.

| double surfaceAverage | ( | const T3DFunction & | f1, |
| coordinate | face, | ||
| double | accuracy, | ||
| const std::array< double, 3 > & | r1, | ||
| double | L1, | ||
| double | L2 ) |
Average of f1 along a rectangular coordinate-aligned surface which is orthogonal to face'th coordinate, has lower left corner at r1, and surface side lengths (positive) equal to L1,L2 (either yz, xz or xy, depending on d).
Definition at line 79 of file integratefunction.cpp.


| double volumeAverage | ( | const T3DFunction & | f1, |
| double | accuracy, | ||
| const std::array< double, 3 > & | r1, | ||
| const std::array< double, 3 > & | r2 ) |
Average of f1 over a rectangular coordinate-aligned volume having lower left corner at r1 and upper right corner at r2.
Definition at line 119 of file integratefunction.cpp.

