Skip to main content

All Questions

Tagged with
8 votes
1 answer
173 views

Github for Physicists

I am wondering if there is a platform to which researchers share or publish the code they used in their research. I noticed that many researchers explain their algorithm and math and present the ...
0 votes
0 answers
55 views

Fluid simulations on spherical coordinate grid: How to handle $\theta=0$ axis?

I am working on a fluid simulation code written in spherical coords. Whoever wrote the original didn't do a great job with the boundary conditions at $\theta=0$ and $\theta=\pi$ axes. My task is to "...
bob.sacamento's user avatar
1 vote
0 answers
91 views

Numerically Solving EM problems. Book covering: ABS, PML, Near field calcul., LU fact, BicGstab, Pardiso etc

I looking for a book (or two) covering a range of topics: numerical implementation of boundary conditions (PEC, PMC, ABS); perfect matching layer; LU factorisation; numerical solvers and when to use ...
4 votes
0 answers
350 views

$N$-body gravity simulator: why does energy conservation break down when introducing an adaptive timestep?

I am playing with an N-body gravity simulator using the velocity-verlet algorithm. In the actual simulation I normalize everything so that it is nicely behaved numerically, but I'll express things in ...
KBriggs's user avatar
  • 439
4 votes
3 answers
294 views

High Energy Physics Algorithms in GEANT4

I have been learning to use the GEANT4 software and I came across the following statement in the Users Guide, and I couldn't help being curious as to why this was? I'm primarily a mathematician, so I ...
Turing101's user avatar
1 vote
0 answers
107 views

Computational complexity - Quantum system [closed]

I have created a genetic algorithm to solve for the ground state of an arbitrary Hermitian matrix. it does this by working out fitness values which i have defined as -E = -$<\psi|\hat{H}|\psi>$. ...
johnahh's user avatar
  • 11
5 votes
0 answers
133 views

Textbooks on algorithms for the perturbative calculation of High energy physics

For the perturbative calculation of High energy physics, I have known some packages such as FeynArts, FeynCalc, MadGraph, CompHEP, GiNaC, and so on. But I am wondering whether there exists a textbook ...