File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,27 +18,27 @@ template <size_t pointSize> struct IntegrationPoint {
1818 Kokkos::Array<Real, pointSize> param;
1919 double weight;
2020};
21- template <size_t dim > class Integration {
21+ template <size_t pointSize > class Integration {
2222public:
2323 virtual ~Integration () {}
2424 virtual int countPoints () const = 0;
25- virtual std::vector<IntegrationPoint<dim >> getPoints () const = 0;
25+ virtual std::vector<IntegrationPoint<pointSize >> getPoints () const = 0;
2626 virtual int getAccuracy () const = 0;
2727};
28- template <size_t dim > class EntityIntegration {
28+ template <size_t pointSize > class EntityIntegration {
2929public:
3030 virtual ~EntityIntegration () {}
31- Integration<dim > const *getAccurate (int minimumAccuracy) const {
31+ Integration<pointSize > const *getAccurate (int minimumAccuracy) const {
3232 int n = countIntegrations ();
3333 for (int i = 0 ; i < n; ++i) {
34- Integration<dim > const *integration = getIntegration (i);
34+ Integration<pointSize > const *integration = getIntegration (i);
3535 if (integration->getAccuracy () >= minimumAccuracy)
3636 return integration;
3737 }
3838 return NULL ;
3939 }
4040 virtual int countIntegrations () const = 0;
41- virtual Integration<dim > const *getIntegration (int i) const = 0;
41+ virtual Integration<pointSize > const *getIntegration (int i) const = 0;
4242};
4343
4444class TriangleIntegration : public EntityIntegration <3 > {
You can’t perform that action at this time.
0 commit comments