8 #ifndef __FACEELEMENTFORCESANDSOURCESCORE_ONSIDE__HPP__
9 #define __FACEELEMENTFORCESANDSOURCESCORE_ONSIDE__HPP__
11 using namespace boost::numeric;
22 using FaceElementForcesAndSourcesCore::
23 FaceElementForcesAndSourcesCore;
25 int getRule(
int order);
34 inline const std::array<int, 2> &getEdgeConnMap()
const;
41 inline const std::array<int, 4> &getFaceConnMap()
const;
48 inline int getOppositeNode()
const;
64 inline int getSkeletonSense()
const;
71 inline int getEdgeSideNumber()
const;
121 inline int getSkeletonSense()
const;
127 inline int getEdgeSideNumber()
const;
137 inline auto getFTensor1Direction();
152 const std::array<int, 2> &
153 FaceElementForcesAndSourcesCoreOnSide::getEdgeConnMap()
const {
157 const std::array<int, 4> &
158 FaceElementForcesAndSourcesCoreOnSide::getFaceConnMap()
const {
162 int FaceElementForcesAndSourcesCoreOnSide::getOppositeNode()
const {
166 int FaceElementForcesAndSourcesCoreOnSide::getEdgeSense()
const {
167 return getSkeletonSense();
170 int FaceElementForcesAndSourcesCoreOnSide::getSkeletonSense()
const {
174 int FaceElementForcesAndSourcesCoreOnSide::getEdgeSideNumber()
const {
175 return edgeSideNumber;
179 FaceElementForcesAndSourcesCoreOnSide::UserDataOperator::getFaceFE()
const {
184 FaceElementForcesAndSourcesCoreOnSide::UserDataOperator::getEdgeFE()
const {
188 int FaceElementForcesAndSourcesCoreOnSide::UserDataOperator::getEdgeSense()
190 return getSkeletonSense();
193 int FaceElementForcesAndSourcesCoreOnSide::UserDataOperator::getSkeletonSense()
195 return getFaceFE()->edgeSense;
198 int FaceElementForcesAndSourcesCoreOnSide::UserDataOperator::
199 getEdgeSideNumber()
const {
200 return getFaceFE()->edgeSideNumber;
204 FaceElementForcesAndSourcesCoreOnSide::UserDataOperator::getDirection() {
205 return getEdgeFE()->dIrection;
208 auto FaceElementForcesAndSourcesCoreOnSide::UserDataOperator::
209 getFTensor1Direction() {
210 double *ptr = &*getDirection().data().begin();
214 MatrixDouble &FaceElementForcesAndSourcesCoreOnSide::UserDataOperator::
215 getEdgeCoordsAtGaussPts() {
216 return getEdgeFE()->coordsAtGaussPts;
222 template <
int SWITCH>
225 using FaceElementForcesAndSourcesCoreOnSide::
226 FaceElementForcesAndSourcesCoreOnSide;
233 #endif //__FACEELEMENTFORCESANDSOURCESCORE_ONSIDE___HPP__