Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63027900
Domain.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, May 17, 06:45
Size
941 B
Mime Type
text/x-c++
Expires
Sun, May 19, 06:45 (2 d)
Engine
blob
Format
Raw Data
Handle
17722573
Attached To
R7917 Guggisberg-Liardon - Numerical integration
Domain.hpp
View Options
#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
Log In to Comment