Recent content by gluons
-
Graduate Need help evaluating flux integral
I think I may be able to construct a different integrand if I parameterize the problem differently...will check back later.- gluons
- Post #4
- Forum: High Energy, Nuclear, Particle Physics
-
Graduate Need help evaluating flux integral
The integrand is of the form $$\int d\theta \sin2\theta \sqrt{\alpha^2 - (r-\beta\tan\theta)^2}$$ Completing the square will simplify the radical, but the radicand becomes negative in this case: $$\int d\theta \sin2\theta \sqrt{-\gamma-u^2}$$ where $$u=\tan\theta-r/\beta$$ and...- gluons
- Post #3
- Forum: High Energy, Nuclear, Particle Physics
-
Graduate Need help evaluating flux integral
I have constructed a formula to represent the neutron flux from a disc emitter through an aperture. I have got it down to a double integral of a form that I can't see how to evaluate. Mathematica crashes on this and I am not ready yet to give up and go to numerical solution. Does anyone know a...- gluons
- Thread
- Flux Integral
- Replies: 3
- Forum: High Energy, Nuclear, Particle Physics
-
How to store large rank-4 array to file?
I am writing a code to calculate and to operations with a large set of matrix elements, indexed by four numbers. I am also writing these subroutines within a much larger code structure, so I do not have total freedom to modify the objects I am using. I am trying something like this, which...- gluons
- Thread
- Array File
- Replies: 1
- Forum: Programming and Computer Science
-
Fortran Fortran: Writes to screen, not to file
Flush is working. Awesome command, thank you!- gluons
- Post #9
- Forum: Programming and Computer Science
-
Fortran Fortran: Writes to screen, not to file
So it turns out that this does in fact write to file, but only after the entire program is finished completing. How can I ask it to perform these writes individually?- gluons
- Post #7
- Forum: Programming and Computer Science
-
Fortran Fortran: Writes to screen, not to file
The code creates the file just fine. I can change the name of the file if I want to. It just won't write anything to it. I get no compile or run errors either, just nothing being written to file. open(unit=2,file="test.OUT") I run from terminal.- gluons
- Post #4
- Forum: Programming and Computer Science
-
Fortran Fortran: Writes to screen, not to file
I've never had this issue before. My code will create the file and also output anything to terminal. But if I change the output from terminal to file, it does nothing. For example, this line write(*,*) "ist1, ist2 =",ist1,ist2 outputs my two indices in every loop iteration. But...- gluons
- Thread
- File Fortran Screen
- Replies: 8
- Forum: Programming and Computer Science
-
I am stuck with an f90 module with user-defined operations
I am writing some code which involves numerical integration of a function on a 3D grid of points. I am defining the type vector to refer to these points, and I am also trying to extend the intrinsic operator * to include scalar and vector multiplication. However, I cannot compile and I don't...- gluons
- Thread
- module Operations Stuck
- Replies: 1
- Forum: Programming and Computer Science
-
Graduate What is the name of this theorem? (complex analysis)
I am working on a problem to evaluate integrals with simple poles offset by ε above/below the real axis. So something like this ∫ [ f(x) / (x-x0-iε) ] The answer is the sum of two integrals: the principal value of the integral with ε=0 plus the integral of iπδ(x-x0). I have done the... -
Graduate Derivation of the one-particle Green's function?
Hello, I am looking for a good reference book that has a detailed derivation of the single particle Green's function. I expected this to be in Sakurai but it's not. I couldn't find the spectral representation of this simple function in Ashcroft or any other solid state book either. Jackson...- gluons
- Thread
- Derivation Function Green's function
- Replies: 1
- Forum: Quantum Physics
-
Undergrad Statistical Uncertainty for Discrete Events
Thank you! The binomial test was just what I was looking for.- gluons
- Post #3
- Forum: Set Theory, Logic, Probability, Statistics
-
Undergrad Statistical Uncertainty for Discrete Events
I am not sure how to answer the following question, which I have posed to myself to better understand the method: "Suppose two six-sided dice are rolled together N times. What is the uncertainty in the number of times any given total appears on the dice?" For example, what is the...- gluons
- Thread
- Discrete Events Statistical Uncertainty
- Replies: 2
- Forum: Set Theory, Logic, Probability, Statistics