Tech and Academic things for Chianshin

Wednesday, July 27, 2005

How can cvs belifit computer simulation work?

How can cvs belifit computer simulation work?

We definetly need it


We definetly need it, and we need it to behave in a different way as general software development.

How to use the cvs features


Brounch


if we want to test a new phyiscal idear, we can use braunch.

Because it is a tempery development. If the idear is OK, then merge the braunch into main tree. If the idear is unvalid, then just discard the braunch.

To distinguish the two different parament simulation case, we can just use MACRO to identify them in compling time. we have no need to maintein two braunch just because the different parament cases. And in genral, these kind of parament case is permenent delepment case, they will exist from the beginning of the work to the end, such as a test case and a turely computational case. So it is not suitable for braunch.
The work that should use brounch is the work has perment property.

tag


In general develpment, we use tag to indicate a version. so at first we discuss something about version in numerical simulation.

versions in numerical simulation


Here is a exmple of a version define in simulation work.

Devided into VRBD four levels



V Version
- implemention method and technology

R Release
- physical goal

B Build
- foot stone in implemention plan of the physical goal

D Debug
- neccesary test build


version plan



V01

purly fortran edition

V02

using OOP method method, implemented in C++

R01

2D simulation

B01

construct the frame work, no detail log and ignore scheme, other things OK. test parameter input and result output

D01

implement the frame work

D02

init distribution

D03

fix xxx bug



B02

detail log and full scheme, it can produce full 2D result




R02

3D simulation




So as to version V02R01B01D02 or 2.1B01D02 is a version for 2D simulation. it can only get the initial distribution, and it still have the xxx bug.

And in numerical simulation, the tag feature should be used much more frequently than general software development work. Beacause it can also used to indicate the important simulation case.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home