RMC++

Download old RMC++

 

 

 The original RMC++ (NOT SUPPORTED ANY MORE!)

This is the united version of RMC++ source code files (in C++) capable of handling both the atomic and the molecular moves. This has far less features, and much slower than RMC_new and RMC_multi, not recommended to use this, only preserved from historical point of view. The structure of the input *.dat file of this program is different from the RMC_new and RMC_multi, so do not try to use the example given here with them, or the other way around!

There are two packages available for each operating system:

The manual describing the classes and routines implemented was removed from the source code package because of its size, and can be downloaded separately. The manual did not change due to the unification.

 

Differences in the RMC++ source codes for different operating systems

The algorithm and its implementation are strictly identical for the above mentioned operating systems. However, for peripheral tasks such as opening and reading files, compilers differences impose to implement a couple of functions differently.
There are actually two cases where a different implementation is necessary:

o        with Microsoft Visual C++, the method open() opens a file and by default, creates it if it does not exist, so that using the option ios::nocreate is necessary to obtain the same result as with the MetroWerks CodeWarrior compiler.

This difference disappeared for the new standard C++ library, (when option switch  _OLD_HEADER  is OFF in the program).

 

If you plan to compile the source code with your own compiler, it is advisable that you know how the compiler handles the opening of files, and that you possibly adapt the function for opening files for your own needs.

Note also that some compilers do not like source files that have been written under other systems: e.g.Microsoft Visual C++ will edit files written with a Mac, but will complain for compilation. The source of the problem is the different line-breaks used by the two systems. In this particular case, you must first save the files with Windows line-breaks, and then compile.

The source files downloadable below are given with the corresponding operating system line-breaks.

 MacOS9 package

Unfortunately due to the leave of Guillamue Evrard we are no longer able to provide an executable package for Macintosh. As the source files are the same for every platform, except the file handling routines which did not change, Macintosh users can compile there own version of the new united code. The source containing the Mac-specific file handling routine will be provided here compressed with WinZip on a PC (as it contains several files), with Windows line-breaks. The class description will be given without compression.

 

 Windows package

The executable for Microsoft Windows systems was compiled with Microsoft Visual C++.

 

 Linux package

The executable for Linux/Unix systems was compiled with the GNU C++ compiler coming with the SUSE Linux distribution. Noticeably there is no problem with line breaks with files coming from either of the other two systems.

 

Top of page


Last change by Orsolya Gereben 06/09/2009
(comments welcome!)