37 #ifndef BCDATAINTERPOLATOR_H 38 #define BCDATAINTERPOLATOR 1
41 #include <boost/shared_array.hpp> 42 #include "Epetra_SerialDenseMatrix.h" 43 #include "Epetra_SerialDenseSolver.h" 44 #include "Epetra_SerialDenseVector.h" 47 #include <lifev/core/LifeV.hpp> 48 #include <lifev/core/util/Displayer.hpp> 49 #include <lifev/core/fem/BCBase.hpp> 50 #include <lifev/core/fem/BCFunction.hpp> 51 #include <lifev/core/fem/BCManage.hpp> 178 const ID& component );
185 void showMe (
bool verbose =
false,
186 std::ostream& out = std::cout )
const;
192 void readData (
const std::string& fileName );
void readData(const std::string &fileName)
Read control points and data from a file.
BCInterpolationMethod M_interpolationMethod
Real interpolatedDataFunction(const Real &t, const Real &x, const Real &y, const Real &z, const ID &component)
Evaluate the interpolated function.
Real evaluateRBF(const BCDataInterpolator_point point1, const BCDataInterpolator_point point2)
boost::shared_array< BCDataInterpolator_point > M_dataValues_timeSamples
void showMe(bool verbose=false, std::ostream &out=std::cout) const
Display the content of the variables.
std::shared_ptr< vector_Type > vectorPtr_Type
void solveInterpolationSystem()
Epetra_SerialDenseVector vector_Type
BCDataInterpolator()
Constructors for an data interpolator.
Epetra_SerialDenseMatrix matrix_Type
int32_type Int
Generic integer data.
void interpolateDataValuesInTime(const Real t)
void updateInverseJacobian(const UInt &iQuadPt)
Epetra_SerialDenseSolver solver_Type
BCFunctionBase - class that holds the function used for prescribing boundary conditions.
BCDataInterpolator_point interpolateVectorialFunction(const Real &t, const Real &x, const Real &y, const Real &z)
virtual ~BCDataInterpolator()
Destructor.
bool needSideConstraints() const
void setInterpolationMethod(const BCInterpolationMethod &bcInterpolationMethod)
Set the interpolation method.
boost::shared_array< BCDataInterpolator_point > M_dataValues
void exportInterpolationMatrix() const
Export the interpolation matrix for debugging purposes.
double Real
Generic real data.
BCDataInterpolator - Class for interpolating boundary functions from scattered data.
solver_Type M_denseSolver
const UInt & nofControlPoints() const
Returns the number of control points.
Int indexInTime(const Int dataSite, const Int timeInstant) const
void setFilteringLevel(const Int &filteringLevel)
Set the filtering level.
Real M_lastInterpolatedAtTime
matrix_Type M_interpolationMatrix
boost::shared_array< BCDataInterpolator_point > M_dataSites
uint32_type UInt
generic unsigned integer (used mainly for addressing)
std::shared_ptr< matrix_Type > matrixPtr_Type