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;
86 const int* borrowSampleReferenceIDs(
int fsType)
const;
92 virtual bool ownSample(
int fsType,
index_t id)
const;
120 virtual void Print_Mesh_Info(
const bool full=
false)
const;
139 virtual IndexVector getNumFacesPerBoundary()
const;
151 virtual IndexVector getNumSubdivisionsPerDim()
const;
158 virtual std::pair<double,double> getFirstCoordAndSpacing(
dim_t dim)
const;
163 virtual dim_t getNumFaceElements()
const;
164 virtual dim_t getNumDOF()
const;
168 virtual void assembleIntegrate(std::vector<double>& integrals,
escript::Data& arg)
const;
206 void populateSampleIds();
207 void createPattern();
209 const std::vector<double>& EM_S,
const std::vector<double>& EM_F,
264 #endif // __RIPLEY_BRICK_H__