Page MenuHomec4science

AbstractTabFunction.hpp
No OneTemporary

File Metadata

Created
Sun, Feb 23, 10:42

AbstractTabFunction.hpp

//
// Created by Pauline Ollitrault on 07.12.16.
//
#ifndef NUMINT_ABSTRACTTABFUNCTION_HPP
#define NUMINT_ABSTRACTTABFUNCTION_HPP
#include <string>
#include <cassert>
#include "vectorFunctions.hpp"
#include "AbstractFunction.hpp"
class AbstractTabFunction : public AbstractFunction {
/**
* @class AbstractTabFunction
* \brief Class for functions of type tabulated.
*
* Inherits from the \e AbstractFunction class.
* Its member variables and methods are needed for integration of 1D or 2D tabulated functions.
*/
public:
/**Constructor*/
AbstractTabFunction();
/**Destructor*/
virtual ~AbstractTabFunction();
/**Getters*/
std::vector<double> GetX() const;
std::vector<double> GetY() const;
std::vector<double> GetZ() const;
protected:
//Vectors containing datas
std::vector<double> X; /**vector containing the 1st variable nodes */
std::vector<double> Y; /**vector containing the 2nd variable nodes */
std::vector<double> Z; /**vector containing the evaluated nodes */
};
#endif //NUMINT_ABSTRACTTABFUNCTION_HPP

Event Timeline