Skip to content
zsigmond edited this page Nov 1, 2012 · 5 revisions

Welcome to Geant4UCN

At this point, Geant4UCN Github repository contains two branches. Main and G4.9.2

  • Main: Runs on Geant4.9.5. This contains a simple UCN geometry of a guide, 5 tesla field, and aluminum foil.
  • G4.9.2: Runs on Geant4.9.2. This may or may not be currently working. Those wishing to continue with this version of Geant4 can update this branch.

Comments 2012/10/31:

I would definitely recommend using git. As for going forward here's what I recommend:

Those using git: They can connect up to github and start branching and merging on their own so long as they do not erase any history there.

Those not using git: They can send a zip file to me and I can put their code onto github as a branch of which ever version of Geant4 they are using. I can use git to look at the differences and merge changes onto the main branch. I am time limited so understandably I can't address every issue. There is a way to make changes(commits) using the website outside of git. This allows you to manually make changes to one particular file at a time. To do this you have to start an account on github and then you are free to edit the file. Just click on the file you want to edit and then push the edit button. At the bottom there is a place to put your short summary of the change. If you are an administrator those go straight through. For others these changes show up as proposed changes and the branch of code doesn't update until an administrator pulls those requests.

There is a place on Github were bugs and proposed changes can be discussed. There is also a wikipedia can be filled out on the webpage.

Comments 2012/10/31:

I thought about this and using the webpage to send changes is pretty much the same as the way you wanted to do the version updating in the first place. Git allows for more complex merging and backtracking of corrections on the site which I can still do and anyone else too if they felt up to it. So, if people want to just use the webpage to update their code, I can set them up with their own branch. They just need to send me a zip file and I'll post it up on github. So when you look at other people's code you can copy and past their changes onto your own code. It's a bit slower than using git but it'll do the job.

Clone this wiki locally