Skip to content
Snippets Groups Projects
Commit 26cc3220 authored by Jesper Andersson's avatar Jesper Andersson
Browse files

Very minor changes

parent 878d7e19
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ public: ...@@ -102,7 +102,7 @@ public:
} }
T ValAndDerivs(double x, double y, double z, std::vector<T>& rderiv) const; T ValAndDerivs(double x, double y, double z, std::vector<T>& rderiv) const;
// Return continous derivative at voxel centres (only works for order<1) // Return continous derivative at voxel centres (only works for order>1)
T Deriv(const std::vector<unsigned int>& indx, unsigned int ddir) const; T Deriv(const std::vector<unsigned int>& indx, unsigned int ddir) const;
T Deriv1(const std::vector<unsigned int>& indx) const {return(Deriv(indx,0));} T Deriv1(const std::vector<unsigned int>& indx) const {return(Deriv(indx,0));}
T Deriv2(const std::vector<unsigned int>& indx) const {return(Deriv(indx,1));} T Deriv2(const std::vector<unsigned int>& indx) const {return(Deriv(indx,1));}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment