#include <interpolation.h>
|
MPI_Comm const | comm |
|
Setup & | s |
|
bool | initialized |
|
double * | src = NULL |
|
double * | dst = NULL |
|
dealii::AlignedVector< double > | shape_values |
|
int | cells |
|
int | DIM |
|
int | start |
|
int | end |
|
unsigned int | points_source |
|
int | dofs_source |
|
unsigned int | points_target |
|
int | dofs_target |
|
Class which loops over all cells and performs interpolation of every velocity component (without using Matrix-Free).
◆ Interpolator()
dealspectrum::Interpolator::Interpolator |
( |
MPI_Comm const & | comm, |
|
|
Setup & | s ) |
|
inline |
◆ deserialize() [1/2]
void dealspectrum::Interpolator::deserialize |
( |
char const * | filename | ) |
|
|
inline |
Read local source vector from file.
- Parameters
-
◆ deserialize() [2/2]
void dealspectrum::Interpolator::deserialize |
( |
char const * | filename, |
|
|
double *& | src ) |
|
inline |
Read explicitly given source vector from file.
- Parameters
-
filename | filename |
src | source vector |
◆ fill_shape_values()
void dealspectrum::Interpolator::fill_shape_values |
( |
dealii::AlignedVector< double > & | shape_values | ) |
|
|
inline |
Fill shape values
@params shape_values data structure to be filled
◆ get_equidistant_inner()
std::vector< dealii::Point< 1 > > dealspectrum::Interpolator::get_equidistant_inner |
( |
unsigned int const | n_points | ) |
|
|
inline |
Create n equidistant points on range [0,1] such that outer points positioned inside of range.
@params n_points nr of points
◆ interpolate() [1/2]
void dealspectrum::Interpolator::interpolate |
( |
| ) |
|
|
inline |
Perform interpolation and permute dofs such that u, v, and w for each point are grouped together. Use local source vector.
◆ interpolate() [2/2]
void dealspectrum::Interpolator::interpolate |
( |
double const *& | src | ) |
|
|
inline |
Perform interpolation and permute dofs such that u, v, and w for each point are grouped together. Source vector is explicitly given by user.
@params src source vector (vector to be interpolated)
◆ interpolate_simple() [1/2]
void dealspectrum::Interpolator::interpolate_simple |
( |
| ) |
|
|
inline |
Only for testing: Do not perform interpolation and only permute dofs such that u, v, and w for each point are grouped together. Use local source vector.
◆ interpolate_simple() [2/2]
void dealspectrum::Interpolator::interpolate_simple |
( |
double *& | src | ) |
|
|
inline |
Only for testing: Do not perform interpolation and only permute dofs such that u, v, and w for each point are grouped together. Source vector is explicitly given by user.
@params src source vector (vector to be interpolated)
◆ io()
template<typename VEC>
void dealspectrum::Interpolator::io |
( |
int | type, |
|
|
char const * | filename, |
|
|
VEC & | src ) |
|
inline |
Read/write explicitly given source vector to file.
- Parameters
-
type | 0: read; 1: write |
filename | filename |
src | source vector |
◆ serialize() [1/2]
void dealspectrum::Interpolator::serialize |
( |
char const * | filename | ) |
|
|
inline |
Write local source vector to file.
- Parameters
-
◆ serialize() [2/2]
void dealspectrum::Interpolator::serialize |
( |
char const * | filename, |
|
|
double const *& | src ) |
|
inline |
Write explicitly given source vector to file.
- Parameters
-
filename | filename |
src | source vector |
The documentation for this class was generated from the following file: