@@ -163,6 +163,10 @@ namespace BasisClasses
163163
164164 // ! Clear the particle selector callback
165165 void clrSelector () { ftor = nullptr ; }
166+
167+ // ! Evaluate acceleration in Cartesian coordinates in centered
168+ // ! coordinate system
169+ virtual std::vector<double > getAccel (double x, double y, double z) = 0;
166170 };
167171
168172 /* *
@@ -307,6 +311,9 @@ namespace BasisClasses
307311 return ret;
308312 }
309313
314+ // ! Evaluate acceleration in Cartesian coordinates in centered
315+ // ! coordinate system
316+ virtual std::vector<double > getAccel (double x, double y, double z);
310317 };
311318
312319 /* *
@@ -542,6 +549,10 @@ namespace BasisClasses
542549 return ret;
543550 }
544551
552+ // ! Evaluate acceleration in Cartesian coordinates in centered
553+ // ! coordinate system
554+ std::vector<double > getAccel (double x, double y, double z);
555+
545556 };
546557
547558 /* *
@@ -693,6 +704,10 @@ namespace BasisClasses
693704 return ret;
694705 }
695706
707+ // ! Evaluate acceleration in Cartesian coordinates in centered
708+ // ! coordinate system
709+ std::vector<double > getAccel (double x, double y, double z);
710+
696711 };
697712
698713 /* *
@@ -841,10 +856,18 @@ namespace BasisClasses
841856 bool orthoTest ()
842857 {
843858 auto [ret, worst, lworst] = orthoCompute (sl->orthoCheck ());
844- // For the CTest log
845- std::cout << " ---- Cylindrical::orthoTest: worst=" << worst << std::endl;
859+ if (myid==0 ) {
860+ // For the CTest log
861+ std::cout << " ---- Cylindrical::orthoTest: worst=" << worst
862+ << std::endl;
863+ }
846864 return ret;
847865 }
866+
867+ // ! Evaluate acceleration in Cartesian coordinates in centered
868+ // ! coordinate system
869+ std::vector<double > getAccel (double x, double y, double z);
870+
848871 };
849872
850873 /* *
@@ -991,6 +1014,10 @@ namespace BasisClasses
9911014 return true ;
9921015 }
9931016
1017+ // ! Evaluate acceleration in Cartesian coordinates in centered
1018+ // ! coordinate system
1019+ std::vector<double > getAccel (double x, double y, double z);
1020+
9941021 };
9951022
9961023 /* *
@@ -1113,6 +1140,10 @@ namespace BasisClasses
11131140 return true ;
11141141 }
11151142
1143+ // ! Evaluate acceleration in Cartesian coordinates in centered
1144+ // ! coordinate system
1145+ std::vector<double > getAccel (double x, double y, double z);
1146+
11161147 };
11171148
11181149
0 commit comments