Interpolation of point values from GridFunction. More...
#include <AMRInterpolation.h>
Public Types | |
typedef base::vec_grid_fct_type | vec_grid_fct_type |
typedef base::vec_grid_data_type | vec_grid_data_type |
typedef GridFunction< DataType, dim > | grid_fct_type |
typedef GridData< DataType, dim > | grid_data_type |
typedef Vector< DataType, dim > | point_type |
typedef Interpolation < VectorType, dim > | interpolation_type |
Public Member Functions | |
AMRInterpolation () | |
virtual | ~AMRInterpolation () |
void | PointsValues (vec_grid_fct_type &u, const double &t, const int &Npoints, const point_type *xc, VectorType *uv, const point_type *xct=0) |
void | PointsValues (vec_grid_fct_type &u, const int &Time, const int &Level, const double &t, const int &Npoints, const point_type *xc, VectorType *uv, const point_type *xct=0) |
int | LocalPoints (vec_grid_fct_type &u, const int &Time, const int &Level, const int &Npoints, const point_type *xc, bool *lused) |
virtual void | GetGrid (vec_grid_data_type &gdu, const int &Time, const int &Level, const int &c, const double &t, const int &Npoints, const point_type *xcl, VectorType *uvl) |
void | PointsValuesPar (vec_grid_fct_type &u, const double &t, const int &Npoints, const point_type *xc, VectorType *uv) |
void | PointsValues (grid_fct_type &u, const double &t, const int &Npoints, const point_type *xc, DataType *uv, const point_type *xct=0) |
void | PointsValues (grid_fct_type &u, const int &Time, const int &Level, const double &t, const int &Npoints, const point_type *xc, DataType *uv, const point_type *xct=0) |
int | LocalPoints (grid_fct_type &u, const int &Time, const int &Level, const int &Npoints, const point_type *xc, bool *lused) |
virtual void | GetGrid (grid_data_type &gdu, const int &Time, const int &Level, const int &c, const double &t, const int &Npoints, const point_type *xcl, DataType *uvl) |
void | PointsValuesPar (grid_fct_type &u, const double &t, const int &Npoints, const point_type *xc, DataType *uv) |
void | PointsAllGather (int Nsnd, const point_type *snd, int &Nrcv, point_type *&rcv) |
void | DataAllScatter (int Nsnd, const VectorType *snd, int &Nrcv, VectorType *&rcv) |
void | DataAllScatter (int Nsnd, const DataType *snd, int &Nrcv, DataType *&rcv) |
void | ArrayCombine (const int &TargetNode, const int &Nvalues, DataType *dat) |
void | SetInterpolation (interpolation_type *inter) |
interpolation_type & | Interpolation_ () |
const interpolation_type & | Interpolation_ () const |
void | SetErrorValue (const DataType val) |
DataType | ErrorValue () const |
Protected Attributes | |
DataType | _ErrorValue |
interpolation_type * | _interpolation |
Interpolation of point values from GridFunction.
typedef GridData<DataType,dim> AMRInterpolation< VectorType, dim >::grid_data_type |
Reimplemented from Geom< VectorType::InternalDataType, dim >.
Reimplemented in AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >.
typedef GridFunction<DataType,dim> AMRInterpolation< VectorType, dim >::grid_fct_type |
Reimplemented in AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >.
typedef Interpolation<VectorType,dim> AMRInterpolation< VectorType, dim >::interpolation_type |
Reimplemented in AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >.
typedef Vector<DataType,dim> AMRInterpolation< VectorType, dim >::point_type |
Reimplemented from Geom< VectorType::InternalDataType, dim >.
Reimplemented in AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >.
typedef base::vec_grid_data_type AMRInterpolation< VectorType, dim >::vec_grid_data_type |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >.
typedef base::vec_grid_fct_type AMRInterpolation< VectorType, dim >::vec_grid_fct_type |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >.
AMRInterpolation< VectorType, dim >::AMRInterpolation | ( | ) | [inline] |
virtual AMRInterpolation< VectorType, dim >::~AMRInterpolation | ( | ) | [inline, virtual] |
void AMRInterpolation< VectorType, dim >::ArrayCombine | ( | const int & | TargetNode, | |
const int & | Nvalues, | |||
DataType * | dat | |||
) | [inline] |
References AMRInterpolation< VectorType, dim >::_ErrorValue, comm_service::comm(), comm_service::dce(), comm_service::error_die(), MY_PROC, comm_service::proc_num(), and size().
Referenced by BrepOutput< SchemeType::VectorType, dim >::Integrate(), BrepOutput< SchemeType::VectorType, dim >::IntegrateMoment(), BrepOutput< SchemeType::VectorType, dim >::IntegrateNormal(), and BrepOutput< SchemeType::VectorType, dim >::WriteOut().
void AMRInterpolation< VectorType, dim >::DataAllScatter | ( | int | Nsnd, | |
const DataType * | snd, | |||
int & | Nrcv, | |||
DataType *& | rcv | |||
) | [inline] |
void AMRInterpolation< VectorType, dim >::DataAllScatter | ( | int | Nsnd, | |
const VectorType * | snd, | |||
int & | Nrcv, | |||
VectorType *& | rcv | |||
) | [inline] |
DataType AMRInterpolation< VectorType, dim >::ErrorValue | ( | ) | const [inline] |
References AMRInterpolation< VectorType, dim >::_ErrorValue.
Referenced by AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >::GetGrid(), BrepOutput< SchemeType::VectorType, dim >::IntegrateTensorMoment(), AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >::PointsGeom(), and AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >::PointsGeomPar().
virtual void AMRInterpolation< VectorType, dim >::GetGrid | ( | grid_data_type & | gdu, | |
const int & | Time, | |||
const int & | Level, | |||
const int & | c, | |||
const double & | t, | |||
const int & | Npoints, | |||
const point_type * | xcl, | |||
DataType * | uvl | |||
) | [inline, virtual] |
virtual void AMRInterpolation< VectorType, dim >::GetGrid | ( | vec_grid_data_type & | gdu, | |
const int & | Time, | |||
const int & | Level, | |||
const int & | c, | |||
const double & | t, | |||
const int & | Npoints, | |||
const point_type * | xcl, | |||
VectorType * | uvl | |||
) | [inline, virtual] |
Reimplemented in AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >.
References AMRInterpolation< VectorType, dim >::_ErrorValue, AMRInterpolation< VectorType, dim >::_interpolation, AMRBase< VectorType, dim >::GH(), Interpolation< VectorType, dim >::Interpolate(), and AMRInterpolation< VectorType, dim >::Interpolation_().
Referenced by AMRInterpolation< VectorType, dim >::PointsValues().
const interpolation_type& AMRInterpolation< VectorType, dim >::Interpolation_ | ( | ) | const [inline] |
interpolation_type& AMRInterpolation< VectorType, dim >::Interpolation_ | ( | ) | [inline] |
int AMRInterpolation< VectorType, dim >::LocalPoints | ( | grid_fct_type & | u, | |
const int & | Time, | |||
const int & | Level, | |||
const int & | Npoints, | |||
const point_type * | xc, | |||
bool * | lused | |||
) | [inline] |
int AMRInterpolation< VectorType, dim >::LocalPoints | ( | vec_grid_fct_type & | u, | |
const int & | Time, | |||
const int & | Level, | |||
const int & | Npoints, | |||
const point_type * | xc, | |||
bool * | lused | |||
) | [inline] |
void AMRInterpolation< VectorType, dim >::PointsAllGather | ( | int | Nsnd, | |
const point_type * | snd, | |||
int & | Nrcv, | |||
point_type *& | rcv | |||
) | [inline] |
References AMRInterpolation< VectorType, dim >::_ErrorValue, comm_service::comm(), comm_service::dce(), comm_service::error_die(), comm_service::proc_num(), and comm_service::proc_world().
Referenced by AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >::PointsGeomPar(), and AMRInterpolation< VectorType, dim >::PointsValuesPar().
void AMRInterpolation< VectorType, dim >::PointsValues | ( | grid_fct_type & | u, | |
const int & | Time, | |||
const int & | Level, | |||
const double & | t, | |||
const int & | Npoints, | |||
const point_type * | xc, | |||
DataType * | uv, | |||
const point_type * | xct = 0 | |||
) | [inline] |
void AMRInterpolation< VectorType, dim >::PointsValues | ( | grid_fct_type & | u, | |
const double & | t, | |||
const int & | Npoints, | |||
const point_type * | xc, | |||
DataType * | uv, | |||
const point_type * | xct = 0 | |||
) | [inline] |
void AMRInterpolation< VectorType, dim >::PointsValues | ( | vec_grid_fct_type & | u, | |
const int & | Time, | |||
const int & | Level, | |||
const double & | t, | |||
const int & | Npoints, | |||
const point_type * | xc, | |||
VectorType * | uv, | |||
const point_type * | xct = 0 | |||
) | [inline] |
void AMRInterpolation< VectorType, dim >::PointsValues | ( | vec_grid_fct_type & | u, | |
const double & | t, | |||
const int & | Npoints, | |||
const point_type * | xc, | |||
VectorType * | uv, | |||
const point_type * | xct = 0 | |||
) | [inline] |
References AMRInterpolation< VectorType, dim >::_ErrorValue, CurrentTime(), FineLevel(), and AMRBase< VectorType, dim >::GH().
Referenced by BrepOutput< SchemeType::VectorType, dim >::Integrate(), BrepOutput< SchemeType::VectorType, dim >::IntegrateMoment(), BrepOutput< SchemeType::VectorType, dim >::IntegrateNormal(), AMRInterpolation< VectorType, dim >::PointsValues(), AMRInterpolation< VectorType, dim >::PointsValuesPar(), and BrepOutput< SchemeType::VectorType, dim >::WriteOut().
void AMRInterpolation< VectorType, dim >::PointsValuesPar | ( | grid_fct_type & | u, | |
const double & | t, | |||
const int & | Npoints, | |||
const point_type * | xc, | |||
DataType * | uv | |||
) | [inline] |
void AMRInterpolation< VectorType, dim >::PointsValuesPar | ( | vec_grid_fct_type & | u, | |
const double & | t, | |||
const int & | Npoints, | |||
const point_type * | xc, | |||
VectorType * | uv | |||
) | [inline] |
void AMRInterpolation< VectorType, dim >::SetErrorValue | ( | const DataType | val | ) | [inline] |
References AMRInterpolation< VectorType, dim >::_ErrorValue.
void AMRInterpolation< VectorType, dim >::SetInterpolation | ( | interpolation_type * | inter | ) | [inline] |
DataType AMRInterpolation< VectorType, dim >::_ErrorValue [protected] |
Referenced by AMRInterpolation< VectorType, dim >::ArrayCombine(), AMRInterpolation< VectorType, dim >::ErrorValue(), AMRInterpolation< VectorType, dim >::GetGrid(), AMRInterpolation< VectorType, dim >::PointsAllGather(), AMRInterpolation< VectorType, dim >::PointsValues(), AMRInterpolation< VectorType, dim >::PointsValuesPar(), and AMRInterpolation< VectorType, dim >::SetErrorValue().
interpolation_type* AMRInterpolation< VectorType, dim >::_interpolation [protected] |
Referenced by AMRInterpolation< VectorType, dim >::AMRInterpolation(), AMRInterpolation< VectorType, dim >::GetGrid(), AMRGFMInterpolation< VectorType, FixupType, FlagType, dim >::GetGrid(), AMRInterpolation< VectorType, dim >::Interpolation_(), AMRInterpolation< VectorType, dim >::SetInterpolation(), and AMRInterpolation< VectorType, dim >::~AMRInterpolation().