Alright. What I was trying to do won't work well on a non-periodic box. I got a suggestion (from an experienced Stat. Mech.) to calculate a density profile instead of the g(r). Something along the lines of: count how many particles are in your grid's cells, add up over entire simulation...
Update
This is an update on my progress. I found an undergrad thesis work on hard disks, I read it and got a much better looking g(r). It still needs improvement. I'm calculating shells+neighbors for the entire set of disks. Which obviously leaves me with some very unbalanced g(r)'s to average...
EDIT: I'm not in my sharpest moment. I just found a bunch of posts that discuss this. I'll read them and update this post if I find an answer.
I'm working on a hard-sphere MC simulation (for a class). I want to compute the radial distribution function g(r). To put you in context, as to my...
Thanks for the suggestion.
For anyone else interested, I found a very promising book: Statistical Physics by Reif (the smaller one, Vol. 5 of Berkeley's series).
I'm taking Statistical Mechanics this semester. I already took Thermodynamics, covering the first three laws (0,1,2) at the level of Fermi's Thermodynamics book (and other similar ones). My Stat. Mech. teacher is a condensed matter experimentalist and he's boss at what he does, no question about...
A singular matrix is one whose rows are linearly dependent. A Gauss-Jordan elimination on a singular matrix will leave you with one or more lines full of zeroes.
Another way to look at it: suppose your matrix A is a representation of some linear system of equations (each row would correspond...
Thanks a lot. Group theory is definitely something I'll start studying soon.
"For a vector space to be a vector space, you need to have an underlying field ( of scalars )." I didn't know that and it makes a big difference.
"[...]like the science of everything; well, it's pretty much true!" I...
I'm a physics student (undergrad) studying Linear Algebra for the first time. I'm writing down my thought process, hoping that someone with more experience can verify my conclusions. I feel that the narration is more clear than my original attempt to present this as a series of questions.
"A...
I'd go with the one open on both ends. In order to achieve resonance you need a bouncing surface. In the open pipe, the perturbation will pass right through and there won't be any waves colliding and interfering, hence, no resonance.
¿How do modern physicists think about magnetism?
Recently, I realized something really cool that made me re-evaluate the way I thought about magnetism. I'm not a physicist, I'm in the early process of becoming one (old cow trying out a whole new career). I had this "fieldy" notion about what...
Thanks for the paper, I've lurking around that site today. I didn't know about it.
*z = 0.2! So it is a very relevant effect. I'll read the paper I'm sure I'll find the answer [if not, I'll find something in arxiv.org.
* BTW, not that I'm very familiar with common redshift values. I know...
Indeed, I didn't think of that... What would the spectra of a neutron star would look like anyway? What kind of photons would be emitted of a giant ball of neutrons interacting in such a dense environment?
Would there be any absorption lines considering that there are no 'elements' in the star...
I was wondering about the light emitted by one of these neutron stars. To my limited knowledge, neutron stars are among the discrete objects in the observable universe with the strongest gravitational and EM fields [black holes beat the living crap out of neutron stars, but that's besides the...