11 using namespace boost::numeric;
13 #ifndef __FLATPRISMELEMENTFORCESANDSURCESCORE_HPP__
14 #define __FLATPRISMELEMENTFORCESANDSURCESCORE_HPP__
41 inline double getArea(
const int dd);
43 inline double getAreaF3();
45 inline double getAreaF4();
106 inline ublas::matrix_row<MatrixDouble> getNormalsAtGaussPtsF3(
const int gg);
115 inline ublas::matrix_row<MatrixDouble> getNormalsAtGaussPtsF4(
const int gg);
140 getFlatPrismElementForcesAndSourcesCore();
175 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getArea(
const int dd) {
180 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getAreaF3() {
184 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getAreaF4() {
189 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getNormal() {
194 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getNormalF3() {
197 return VectorAdaptor(3, ublas::shallow_array_adaptor<double>(3, data));
201 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getNormalF4() {
204 return VectorAdaptor(3, ublas::shallow_array_adaptor<double>(3, data));
208 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getCoords() {
213 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getCoordsAtGaussPts() {
218 inline MatrixDouble &FlatPrismElementForcesAndSourcesCore::UserDataOperator::
219 getHOCoordsAtGaussPtsF3() {
221 ->hoCoordsAtGaussPtsF3;
224 inline MatrixDouble &FlatPrismElementForcesAndSourcesCore::UserDataOperator::
225 getHOCoordsAtGaussPtsF4() {
227 ->hoCoordsAtGaussPtsF4;
230 inline MatrixDouble &FlatPrismElementForcesAndSourcesCore::UserDataOperator::
231 getNormalsAtGaussPtsF3() {
233 ->nOrmals_at_GaussPtF3;
236 inline MatrixDouble &FlatPrismElementForcesAndSourcesCore::UserDataOperator::
237 getNormalsAtGaussPtsF4() {
239 ->nOrmals_at_GaussPtF4;
242 inline ublas::matrix_row<MatrixDouble>
243 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getNormalsAtGaussPtsF3(
245 return ublas::matrix_row<MatrixDouble>(
247 ->nOrmals_at_GaussPtF3,
251 inline ublas::matrix_row<MatrixDouble>
252 FlatPrismElementForcesAndSourcesCore::UserDataOperator::getNormalsAtGaussPtsF4(
254 return ublas::matrix_row<MatrixDouble>(
256 ->nOrmals_at_GaussPtF4,
260 inline MatrixDouble &FlatPrismElementForcesAndSourcesCore::UserDataOperator::
261 getTangent1AtGaussPtF3() {
263 ->tAngent1_at_GaussPtF3;
266 inline MatrixDouble &FlatPrismElementForcesAndSourcesCore::UserDataOperator::
267 getTangent2AtGaussPtF3() {
269 ->tAngent2_at_GaussPtF3;
272 inline MatrixDouble &FlatPrismElementForcesAndSourcesCore::UserDataOperator::
273 getTangent1AtGaussPtF4() {
275 ->tAngent1_at_GaussPtF4;
278 inline MatrixDouble &FlatPrismElementForcesAndSourcesCore::UserDataOperator::
279 getTangent2AtGaussPtF4() {
281 ->tAngent2_at_GaussPtF4;
285 FlatPrismElementForcesAndSourcesCore::UserDataOperator::
286 getFlatPrismElementForcesAndSourcesCore() {
292 #endif //__FLATPRISMELEMENTFORCESANDSURCESCORE_HPP__