15 #include "../config/config.hpp"
21 struct findpts_data_2;
22 struct findpts_data_3;
102 void Setup(
Mesh &m,
const double bb_t = 0.1,
const double newt_tol = 1.0e-12,
103 const int npt_max = 256);
127 const double newt_tol = 1.0e-12,
const int npt_max = 256);
183 #endif // MFEM_USE_GSLIB
void Interpolate(const GridFunction &field_in, Vector &field_out)
Array< unsigned int > gsl_elem
Class for an integration rule - an Array of IntegrationPoint.
Class for grid function - Vector with associated FE space.
const Vector & GetDist() const
void SetL2AvgType(AvgType avgtype_)
struct findpts_data_3 * fdata3D
Array< unsigned int > gsl_mfem_elem
const Array< unsigned int > & GetCode() const
Array< unsigned int > gsl_proc
const Array< unsigned int > & GetProc() const
Return MPI rank on which each point was found by FindPoints.
void GetNodeValues(const GridFunction &gf_in, Vector &node_vals)
Get GridFunction from MFEM format to GSLIB format.
const Array< unsigned int > & GetElem() const
Return element number for each point found by FindPoints.
void MapRefPosAndElemIndices()
void Setup(Mesh &m, const double bb_t=0.1, const double newt_tol=1.0e-12, const int npt_max=256)
double default_interp_value
void SetDefaultInterpolationValue(double interp_value_)
const Vector & GetGSLIBReferencePosition() const
Array< unsigned int > gsl_code
void GetSimplexNodalCoordinates()
void FindPoints(const Vector &point_pos)
void InterpolateGeneral(const GridFunction &field_in, Vector &field_out)
void GetQuadHexNodalCoordinates()
const Vector & GetReferencePosition() const
Return reference coordinates for each point found by FindPoints.
const Array< unsigned int > & GetGSLIBElem() const
IntegrationRule * ir_simplex
FindPointsGSLIB can robustly evaluate a GridFunction on an arbitrary collection of points...
struct findpts_data_2 * fdata2D
void InterpolateH1(const GridFunction &field_in, Vector &field_out)
Use GSLIB for communication and interpolation.