16 #ifndef __RIPLEY_RECTANGLE_H__
17 #define __RIPLEY_RECTANGLE_H__
19 #include <ripley/RipleyDomain.h>
40 Rectangle(
int n0,
int n1,
double x0,
double y0,
double x1,
double y1,
41 int d0=-1,
int d1=-1);
53 virtual std::string getDescription()
const;
65 void dump(
const std::string& filename)
const;
70 const std::vector<int>& first,
71 const std::vector<int>& numValues,
72 const std::vector<int>& multiplier)
const;
77 std::string varname,
const std::vector<int>& first,
78 const std::vector<int>& numValues,
79 const std::vector<int>& multiplier)
const;
85 int byteOrder,
int dataType)
const;
92 const int* borrowSampleReferenceIDs(
int fsType)
const;
98 virtual bool ownSample(
int fs_code,
index_t id)
const;
119 virtual int getNumDataPointsGlobal()
const;
126 virtual void Print_Mesh_Info(
const bool full=
false)
const;
163 virtual double getLocalCoordinate(
int index,
int dim)
const;
169 virtual boost::python::tuple getGridParameters()
const;
172 virtual dim_t getNumNodes()
const;
173 virtual dim_t getNumElements()
const;
174 virtual dim_t getNumFaceElements()
const;
175 virtual dim_t getNumDOF()
const;
217 void populateSampleIds();
218 void createPattern();
222 template<
typename ValueType>
224 const std::string& filename,
int byteOrder)
const;
289 EsysAssert((dim>=0 && dim<2),
"'dim' out of bounds");
290 EsysAssert((index>=0 && index<
m_NN[dim]),
"'index' out of bounds");
296 return boost::python::make_tuple(
298 boost::python::make_tuple(
m_dx[0],
m_dx[1]),
299 boost::python::make_tuple(
m_gNE[0],
m_gNE[1]));
303 bool reducedColOrder)
const
337 #endif // __RIPLEY_RECTANGLE_H__