Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102719093
TwoDDomain.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
Sun, Feb 23, 12:08
Size
1 KB
Mime Type
text/x-c++
Expires
Tue, Feb 25, 12:08 (2 d)
Engine
blob
Format
Raw Data
Handle
24404225
Attached To
R1695 PCSC - Numerical Integration - Ollitrault Rouaze
TwoDDomain.hpp
View Options
//
// Created by Pauline Ollitrault on 09.12.16.
//
#ifndef NUMINT_TWODDOMAIN_HPP
#define NUMINT_TWODDOMAIN_HPP
#include "AbstractDomain.hpp"
#include "Error.hpp"
#include <iostream>
class
TwoDDomain
:
public
AbstractDomain
{
/**
* @class TwoDDomain
* @brief Class of two dimensional domains
* @details Inherits from AbstractDomain. It is now constrained to rectangular
* domains but could be extended.
*/
public
:
/**Constructors*/
TwoDDomain
();
TwoDDomain
(
const
double
x_lower_value
,
const
double
y_lower_value
,
const
double
x_upper_value
,
const
double
y_upper_value
);
/**Setters*/
void
SetXLowerValue
(
const
double
x_lower_value
);
void
SetYLowerValue
(
const
double
y_lower_value
);
void
SetXUpperValue
(
const
double
x_upper_value
);
void
SetYUpperValue
(
const
double
y_upper_value
);
/**Getters*/
double
GetXLowerValue
()
const
;
double
GetYLowerValue
()
const
;
double
GetXUpperValue
()
const
;
double
GetYUpperValue
()
const
;
private
:
double
m_x_lower_value
;
/** x lower bound */
double
m_y_lower_value
;
/** y lower bound */
double
m_x_upper_value
;
/** x upper bound */
double
m_y_upper_value
;
/** y upper bound */
};
#endif
//NUMINT_TWODDOMAIN_HPP
Event Timeline
Log In to Comment