16 #ifndef __RIPLEY_BRICK_H__
17 #define __RIPLEY_BRICK_H__
19 #include <ripley/RipleyDomain.h>
40 Brick(
int n0,
int n1,
int n2,
double x0,
double y0,
double z0,
double x1,
41 double y1,
double z1,
int d0=-1,
int d1=-1,
int d2=-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 fsType,
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;
291 EsysAssert((dim>=0 && dim<3),
"'dim' out of bounds");
292 EsysAssert((index>=0 && index<
m_NN[dim]),
"'index' out of bounds");
298 return boost::python::make_tuple(
305 bool reducedColOrder)
const
339 #endif // __RIPLEY_BRICK_H__