Page MenuHomec4science

Domain.hpp
No OneTemporary

File Metadata

Created
Fri, May 17, 06:45

Domain.hpp

#ifndef PCSC_PROJET_DOMAIN_HPP
#define PCSC_PROJET_DOMAIN_HPP
#include <vector>
#include <iostream>
using namespace std;
#include "OutOfRangeException.hpp"
#include "Exception.hpp"
class Domain {
public:
// Constructor and destructor
Domain();
virtual ~Domain();
// Get number of points in the discretization of the domain
virtual int GetNumberPoints() = 0;
};
#endif //PCSC_PROJET_DOMAIN_HPP
/*! \class Domain class.h "inc/class.h"
* \brief Parent class for the domain-object given to the child of IntegrationSolver
*
* The child class of Domain can describe a line, a cartesian product in n dimensions, of other domain type (circle, ...)
*/
/*! \fn int Domain::GetNumberPoints()
* \brief Function that compute the number of points in the discretization of the space of the function
* that will be integrated
* \return int variable with the number of points
*/

Event Timeline