/dports/science/qmcpack/qmcpack-3.11.0/src/Numerics/ |
H A D | Quadrature.h | 29 typedef TinyVector<T, 3> PosType; typedef 43 std::vector<PosType> xyz_m; 107 std::vector<PosType> a, b, c, d; in quad_ok() 118 a.push_back(PosType(q, q, q)); in quad_ok() 143 c.push_back(PosType(q, q, q)); in quad_ok() 144 c.push_back(PosType(q, q, -q)); in quad_ok() 145 c.push_back(PosType(q, -q, q)); in quad_ok() 151 d.push_back(PosType(r, r, s)); in quad_ok() 159 d.push_back(PosType(r, s, r)); in quad_ok() 167 d.push_back(PosType(s, r, r)); in quad_ok() [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/QMCWaveFunctions/tests/ |
H A D | test_counting_jastrow.cpp | 33 using PosType = QMCTraits::PosType; typedef 60 PosType r1(1,0,0); 66 PosType fgrad, lgrad; 130 using PosType = QMCTraits::PosType; typedef 147 PosType Re[] = { PosType(2.4601162537, 6.7476360528,-1.9073129953), 161 PosType Ri[] = {PosType(2.61363352510301, 5.01928226905281, 0.0), 212 PosType Jgrad_exact[] = {PosType(3.6845037054e-04, -4.2882992861e-04, 0), 277 PosType dr[] = {PosType(0.0984629815, 0.0144420719, 0.1334309321), 284 PosType Jgrad_t_exact[] = {PosType(4.4329270315e-04, -5.1593699287e-04, 0), 308 PosType R2[] = { PosType( 4.3280064837, 2.4657709845, 6.3466520181e-01), [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/slam/ |
H A D | IndirectionSet.hpp | 31 template <typename PosType = slam::DefaultPositionType, 34 OrderedSet<PosType, 36 policies::RuntimeSize<PosType>, 37 policies::ZeroOffset<PosType>, 38 policies::StrideOne<PosType>, 39 policies::ArrayIndirection<PosType, ElemType>>; 48 template <typename PosType = slam::DefaultPositionType, 51 OrderedSet<PosType, 53 policies::RuntimeSize<PosType>, 54 policies::ZeroOffset<PosType>, [all …]
|
H A D | Relation.hpp | 25 template <typename PosType, typename ElemType> 59 template <typename PosType = slam::DefaultPositionType, 64 using SetPosition = typename Set<PosType, ElemType>::PositionType; 65 using SetElement = typename Set<PosType, ElemType>::ElementType; 75 static NullSet<PosType, ElemType> s_nullSet; 119 template <typename PosType, typename ElemType> 120 NullSet<PosType, ElemType> Relation<PosType, ElemType>::s_nullSet;
|
H A D | BivariateSet.hpp | 71 template <typename PosType = slam::DefaultPositionType, 76 using PositionType = PosType; 88 static const NullSet<PosType, ElemType> s_nullSet; 204 template <typename PosType = slam::DefaultPositionType, 206 class NullBivariateSet : public BivariateSet<PosType, ElemType> 209 using PositionType = PosType; 211 using OrderedSetType = typename BivariateSet<PosType, ElemType>::OrderedSetType; 257 template <typename PosType, typename ElemType> 258 const NullSet<PosType, ElemType> BivariateSet<PosType, ElemType>::s_nullSet;
|
/dports/science/axom/axom-0.6.1/src/axom/core/ |
H A D | IteratorBase.hpp | 46 template <typename IterType, typename PosType> 53 IteratorBase() : m_pos(PosType()) { } in IteratorBase() 54 explicit IteratorBase(PosType pos) : m_pos(pos) { } in IteratorBase() 63 static void adv(IterType& derived, PosType n) in adv() 65 void (IterType::*fn)(PosType) = &accessor::advance; in adv() 141 IterType& operator+=(PosType n) in operator +=() 147 IterType& operator-=(PosType n) in operator -=() 154 friend IterType operator+(const IterType& it, PosType n) in operator +() 161 friend IterType operator+(PosType n, const IterType& it) in operator +() 167 friend IterType operator-(const IterType& it, PosType n) in operator -() [all …]
|
/dports/devel/stxxl/stxxl-1.4.1/include/stxxl/bits/mng/ |
H A D | adaptor.h | 207 template <class OneDimArrayType, class DataType, class PosType> 213 typedef PosType pos_type; 238 … template <unsigned BlockSize, typename RunType, class PosType> \ 239 … inline two_to_one_dim_array_adaptor_base<BlockSize, RunType, PosType>& operator ++ ( \ 240 … two_to_one_dim_array_adaptor_base<BlockSize, RunType, PosType>& a) \ 246 … template <unsigned BlockSize, typename RunType, class PosType> \ 317 unsigned DimSize, class PosType = blocked_index<DimSize> > 319 : public two2one_dim_array_adapter_base<OneDimArrayType, DataType, PosType> 324 typedef PosType pos_type; 368 unsigned DimSize, class PosType = blocked_index<DimSize> > [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/Sandbox/ |
H A D | pseudo.hpp | 26 using PosType=TinyVector<T,D>; typedef 34 std::vector<PosType> sgridxyz_m; 45 sgridxyz_m[ 0] = PosType( 1.0, 0.0, 0.0 ); in NonLocalPP() 46 sgridxyz_m[ 1] = PosType( -1.0, 0.0, 0.0 ); in NonLocalPP() 47 sgridxyz_m[ 2] = PosType( 0.4472135955, 0.894427191, 0.0 ); in NonLocalPP() 48 sgridxyz_m[ 3] = PosType( -0.4472135955, 0.7236067977, 0.5257311121 ); in NonLocalPP() 49 sgridxyz_m[ 4] = PosType( 0.4472135955, 0.2763932023, 0.8506508084 ); in NonLocalPP() 50 sgridxyz_m[ 5] = PosType( -0.4472135955, -0.2763932023, 0.8506508084 ); in NonLocalPP() 51 sgridxyz_m[ 6] = PosType( 0.4472135955, -0.7236067977, 0.5257311121 ); in NonLocalPP() 52 sgridxyz_m[ 7] = PosType( -0.4472135955, -0.894427191, 0.0 ); in NonLocalPP() [all …]
|
/dports/math/snns/SNNSv4.3/xgui/sources/ |
H A D | ui_xGraphic.h | 29 struct PosType pixPos1, struct PosType pixPos2); 30 extern void ui_xDrawBox(Display *displ, Drawable d, GC gc, struct PosType pixPos1, 31 struct PosType pixPos2); 33 struct PosType pixPos1, struct PosType pixPos2); 34 extern void ui_xDrawLine(Display *displ, Drawable d, GC gc, struct PosType pixPos1, 35 struct PosType pixPos2); 37 struct PosType pixPos1, struct PosType pixPos2); 38 extern void ui_xDrawPoint(Display *displ, Drawable d, GC gc, struct PosType pixPos1);
|
H A D | ui_utilP.h | 34 extern struct PosType ui_utilGridToPix(struct Ui_DisplayType *displayPtr, struct PosType gridPos); 35 extern struct PosType ui_utilPixToGrid(struct Ui_DisplayType *displayPtr, struct PosType pixPos); 37 extern struct PosType ui_utilPixUpperLeft(struct Ui_DisplayType *displayPtr, struct PosType gridP… 38 extern struct PosType ui_utilPixLowerRight(struct Ui_DisplayType *displayPtr, struct PosType grid… 44 extern void ui_utilNormalizeRect(struct PosType *pixPos1Ptr, struct PosType *pixPos2Ptr…
|
H A D | ui_utilP.c | 206 struct PosType 207 ui_utilGridToPix(struct Ui_DisplayType *displayPtr, struct PosType gridPos) in ui_utilGridToPix() 209 struct PosType pixPos; in ui_utilGridToPix() 229 struct PosType 230 ui_utilPixToGrid(struct Ui_DisplayType *displayPtr, struct PosType pixPos) in ui_utilPixToGrid() 232 struct PosType gridPos; in ui_utilPixToGrid() 318 ui_utilNormalizeRect(struct PosType *pixPos1Ptr, struct PosType *pixPos2Ptr) in ui_utilNormalizeRect() 336 struct PosType 339 struct PosType pixPos; in ui_utilPixUpperLeft() 359 struct PosType [all …]
|
H A D | ui_xGraphic.ph | 30 struct PosType pixPos1, struct PosType pixPos2); 31 void ui_xDrawBox(Display *displ, Drawable d, GC gc, struct PosType pixPos1, 32 struct PosType pixPos2); 34 struct PosType pixPos1, struct PosType pixPos2); 35 void ui_xDrawLine(Display *displ, Drawable d, GC gc, struct PosType pixPos1, 36 struct PosType pixPos2); 38 struct PosType pixPos1, struct PosType pixPos2); 39 void ui_xDrawPoint(Display *displ, Drawable d, GC gc, struct PosType pixPos1);
|
H A D | ui_utilP.ph | 36 struct PosType ui_utilGridToPix(struct Ui_DisplayType *displayPtr, struct PosType gridPos); 37 struct PosType ui_utilPixToGrid(struct Ui_DisplayType *displayPtr, struct PosType pixPos); 39 struct PosType ui_utilPixUpperLeft(struct Ui_DisplayType *displayPtr, struct PosType gridPos); 40 struct PosType ui_utilPixLowerRight(struct Ui_DisplayType *displayPtr, struct PosType gridPos, sh… 46 void ui_utilNormalizeRect(struct PosType *pixPos1Ptr, struct PosType *pixPos2Ptr);
|
H A D | ui_selection.h | 33 extern void ui_sel_drawBoxes (struct Ui_DisplayType *,FlagType,struct PosType); 35 struct PosType); 37 struct PosType); 39 struct PosType, struct PosType); 41 struct PosType, struct PosType);
|
H A D | ui_xGraphic.c | 45 void ui_xDrawPoint(Display *displ, Drawable d, GC gc, struct PosType pixPos1) in ui_xDrawPoint() 63 void ui_xDrawLine(Display *displ, Drawable d, GC gc, struct PosType pixPos1, struct PosType pixPos2) in ui_xDrawLine() 82 void ui_xDrawTriangle(Display *displ, Drawable d, GC gc, struct PosType pixPos1, struct PosType pix… in ui_xDrawTriangle() 91 struct PosType vlist_triangle[3]; in ui_xDrawTriangle() 160 void ui_xDrawBox(Display *displ, Drawable d, GC gc, struct PosType pixPos1, struct PosType pixPos2) in ui_xDrawBox() 189 void ui_xDrawCrossBox(Display *displ, Drawable d, GC gc, struct PosType pixPos1, struct PosType pix… in ui_xDrawCrossBox() 193 struct PosType pos1,pos2; in ui_xDrawCrossBox() 234 void ui_xDeleteRect(Display *displ, Drawable d, GC gc, struct PosType pixPos1, struct PosType pixPo… in ui_xDeleteRect()
|
H A D | ui_selection.ph | 33 void ui_sel_drawBoxes (struct Ui_DisplayType *, FlagType, struct PosType); 34 void ui_sel_selectOne (struct Ui_DisplayType *, FlagType, int, struct PosType); 36 struct PosType); 37 void ui_sel_selectRect (struct Ui_DisplayType *, FlagType, struct PosType, 38 struct PosType); 39 void ui_sel_unselectRect (struct Ui_DisplayType *, FlagType, struct PosType, 40 struct PosType); 62 struct SelectionType *, int, struct PosType); 64 struct PosType);
|
/dports/devel/stxxl/stxxl-1.4.1/include/stxxl/bits/algo/ |
H A D | adaptor.h | 23 template <unsigned BlockSize, typename RunType, class PosType = int_type> 39 runs2bid_array_adaptor(RunType** a, PosType p, unsigned_type d) in runs2bid_array_adaptor() 66 data_type& operator [] (PosType n) const 92 PosType w, h, K; 116 PosType i = pos - K; 120 PosType _w = w; 127 PosType i = pos - K; 131 PosType _w = w; 136 data_type& operator [] (PosType n) const 139 PosType i = n - K; [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/slam/policies/ |
H A D | IndirectionPolicies.hpp | 200 template <typename PosType, typename ElemType> 201 bool ArrayIndirection<PosType, ElemType>::isValid(PosType size, in isValid() 202 PosType offset, in isValid() 203 PosType stride, in isValid() 229 PosType firstEltInd = offset; in isValid() 230 PosType lastEltInd = (size - 1) * stride + offset; in isValid() 251 template <typename PosType, typename ElemType> 252 bool STLVectorIndirection<PosType, ElemType>::isValid(PosType size, in isValid() 278 PosType firstEltInd = offset; in isValid() 279 PosType lastEltInd = (size - 1) * stride + offset; in isValid() [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/QMCHamiltonians/ |
H A D | NonLocalECPComponent.h | 35 typedef std::vector<PosType> SpherGridType; 67 std::vector<PosType> deltaV; 80 std::vector<PosType> gradpsiratio; 82 std::vector<PosType> vgrad; 84 std::vector<PosType> cosgrad; 86 std::vector<PosType> wfngrad; 99 Matrix<PosType> Gnew; 107 …void buildQuadraturePointDeltaPositions(RealType r, const PosType& dr, std::vector<PosType>& delta… 125 void addknot(const PosType& xyz, RealType weight) in addknot() 161 const PosType& dr, [all …]
|
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/simplex/face/ |
H A D | jumping_pos.h | 46 typedef Pos<FaceType> PosType; typedef 64 PosType startPos=*this; in FindBorder() 68 PosType::FlipE(); in FindBorder() 71 PosType::FlipF(); in FindBorder() 72 PosType::FlipE(); in FindBorder() 94 PosType::FlipF(); in NextFE() 95 PosType::FlipE(); in NextFE() 97 PosType::FlipE(); in NextFE() 102 PosType::FlipF(); in NextFE() 103 PosType::FlipE(); in NextFE()
|
/dports/devel/vcglib/vcglib-2020.09/vcg/simplex/face/ |
H A D | jumping_pos.h | 46 typedef Pos<FaceType> PosType; typedef 64 PosType startPos=*this; in FindBorder() 68 PosType::FlipE(); in FindBorder() 71 PosType::FlipF(); in FindBorder() 72 PosType::FlipE(); in FindBorder() 94 PosType::FlipF(); in NextFE() 95 PosType::FlipE(); in NextFE() 97 PosType::FlipE(); in NextFE() 102 PosType::FlipF(); in NextFE() 103 PosType::FlipE(); in NextFE()
|
/dports/devel/vcglib/vcglib-2020.09/vcg/complex/algorithms/ |
H A D | hole.h | 72 PosType e0; 73 PosType e1; 172 PosType pp = e1; in CheckManifoldAfterEarClose() 215 virtual bool Close(PosType &np0, PosType &np1, FaceType *f) in Close() 354 virtual bool Close(PosType &np0, PosType &np1, FacePointer f) in Close() 428 PosType p; 693 static bool existEdge(PosType pi,PosType pf) in existEdge() 735 PosType px; in computeWeight() 869 PosType ps; in MinimumWeightFill() 903 static void getBoundHole (PosType sp,std::vector<PosType >&ret) in getBoundHole() [all …]
|
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/complex/algorithms/ |
H A D | hole.h | 72 PosType e0; 73 PosType e1; 170 PosType pp = e1; in CheckManifoldAfterEarClose() 213 virtual bool Close(PosType &np0, PosType &np1, FaceType *f) in Close() 352 virtual bool Close(PosType &np0, PosType &np1, FacePointer f) in Close() 426 PosType p; 691 static bool existEdge(PosType pi,PosType pf) in existEdge() 733 PosType px; in computeWeight() 867 PosType ps; in MinimumWeightFill() 901 static void getBoundHole (PosType sp,std::vector<PosType >&ret) in getBoundHole() [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/QMCWaveFunctions/ |
H A D | AtomicOrbital.h | 76 typedef QMCTraits::PosType PosType; 100 PosType Pos; 169 PosType dr = r - Pos; 171 PosType img; 228 PosType dr = r - Pos; 230 PosType img; 306 PosType dr = r - Pos; 308 PosType img; 326 PosType phihat = PosType(-sinphi, cosphi, 0.0); 421 PosType img; [all …]
|
/dports/multimedia/vvdec/vvdec-1.1.2/source/Lib/CommonLib/ |
H A D | Common.h | 58 typedef int32_t PosType; typedef 62 PosType x; 63 PosType y; 66 constexpr Position(const PosType _x, const PosType _y) : x(_x), y(_y) { } in Position() 72 …constexpr Position offset(const PosType _x, const PosType _y) const { return Position(x + _x , y… in offset() 99 …constexpr Area(const PosType _x, const PosType _y, const SizeType _w, const SizeType _h, const Com… in Position() 107 …constexpr Position topRight() const { return { (PosType) (x + width - 1), y … in topRight() 108 … bottomLeft() const { return { x , (PosType) (y + height - 1)… in bottomLeft() 109 … Position bottomRight() const { return { (PosType) (x + width - 1), (PosType) (y … in bottomRight() 110 … Position center() const { return { (PosType) (x + width / 2), (PosType) (y … in center() [all …]
|