Comments (4)
From #291:
Maybe the safety could be approximated with a few iterations with steepest descent?
The most promising literature that I could find to date is ON THE DISTANCE FROM A POINT TO A QUADRIC SURFACE. What we need for safety is a sort of "conservative" estimate, ie the returned value can be too low but it must never be too large, I think.
from celeritas.
This is a blocking task for #181 to calculate the step length.
from celeritas.
#406 implements the CalcSafetyDistance
algorithm, which works for spheres, planes, and cylinders, since the gradient of those surfaces points to the nearest point on the surface. For any other surfaces, the safety distance is zero (ultra-conservative). For "complex" volumes (those with internal surfaces) the safety distance will be unnecessarily conservative near those internal surfaces.
from celeritas.
I finally rediscovered this reference: Hart, Sphere Tracing: A Geometric Method for the
Antialiased Ray Tracing of Implicit Surfaces which in Appendix A (pp 5-109–5-110) discusses distance to plane, sphere, cylinder, cone, torus. Distance to an ellipsoid requires solving a sixth degree polynomial.
from celeritas.
Related Issues (20)
- Integrate Celeritas into ATLAS
- Demonstrate ADIOS output on Frontier HOT 2
- Undefined references with CudaRDCUtils and vecgeom
- Collaborate with HEPiX for CPU/GPU performance and efficiency benchmarking
- Convert Geant4 geometry to ORANGE
- Implement single-track CPU for performance and improve integration HOT 6
- Implement CPU-only G4MagneticField wrapper
- Generate input documentation from app structs HOT 1
- Parameterized source distributions
- Better statistics from celer-sim
- Integrate Perfetto for optional CPU profiling HOT 3
- Require one event at a time
- Use logical rather than physical navigation state to reconstruct G4NavigationHistory
- Accelerate ORANGE tracking with geant4
- Support union boundaries
- Cleanup tasks for v1.0
- Add particle weight to simulations
- Muon Beam Physics
- Celeritas offloading interfaces do not support multiple runs in Geant4 HOT 3
- Implement short-circuit volume evaluation using infix notation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from celeritas.