Tensor program for fault-kinematic analysis and paleostress reconstruction

Tensor Dos-Tensor Win-Tensor User guides Documentation Applications References
Damien Delvaux >Tensor  > Dos-Tensor > Dos-Tensor - Download Center    /     Disclamer

Download center for Dos Tensor package

When downlading Tensor for Dos, with your address for our records, indicating for what purpose you will use the program. Your data will be kept for sending you notices for the release of further versions, unless specified that you dont want to be kept informed.

Tensor for Dos package (Zip files)

The package for installation of the Tensor for Dos program comprises three zip files. Download them all and save them on a new folder to be created (e.g.: /Tensor/). This folder will become the root for all the package, including the data files. Unzipp the compressed folders on that Tensor folder. See Installation Notes hereafter for further details.

TENSOR.ZIP (Program files)   HELP.ZIP (Help files)   EXAMPLES.ZIP (Sample data files)

Individual Components

Alternatively, the four principal files of the TENSOR.ZIP file can be downloaded separately and save on the same (e.g.: /Tensor/) folder. Do not open or execute them here directly.

Module TENSORD   Module TENSORP   Reference grid for Dieder   Initial default file

Information and notes on TENSOR (Text file)


Install the TENSOR package in a separate directory called /TENSOR/. This directory should contain the two executatble files: TENSORP.EXE and TENSORD.EXE, the default files GRIDDATA.DEF and DEFAULT.DEF and the subdirectory HELP with the help files.


The Presence of the file griddata.def is required for the execution of the Right Dihedron method. In the absence of this file, this function will not be available.

Once installed, double click one of the executable files for running the corresponding module (TENSORD.EXE for the Data Base module and TENSORP.EXE for the Data Processing module.


As in many Dos programs, no options for printing the figures are bulit in the programme and the user shoud use the Prin-Screen function of Windows.

For printing the graphical figures, you have to run the programme in a Windows environment, use the combination of Alt+PrintScreen keys to capture the screen and copy it to the ClipBoard. The next step is to paste it to any standard graphical programme ( Paint...), invert the colors and save it as Bitmap or Jpeg. It can then be printed or included in a document as any other figures.

The usual procedure is as follows: First of all, run the Windows Paint programme (Start-Programmes-Accessories-Paint). In options Image/Attributes, define the width as 640 pixels and the height as 480 pixels, and the colors as Black and White.

After this, launch the TensorP module and reach one of the options controlling the graphic output. For diaplaying the figures, Tensor switches the screen to a Graphic mode. Copy the displayed screen to the clipboard by pressing Alt+Print Screen, then press Alt+Tab to change the active window to the Paint programme. Past the picture (Ctrl+V), invert the colors (Ctrl+I) and save it as BMP or JPG file.

This system was working fine with older version of Windows. Under Windows 2000 and XP, it becomes more difficult. With the wide multimedia screens, this function do not work any more. This was one of the reasons that motivated the conversion of Tensor in a Windows-compatible language (WinTensor).


The program TENSOR (MS-DOS, QuickBASIC) is an interactive package for stress determination on faults, joints and earthquake focal mechanisms. It allows reconstructing the four parameters of the reduced paleostress tensor (stress axis orientation and shape ratio of the stress ellipsoid) from fault slip data and earthquake focal mechanisms, using an improved version of the Right Dihedron Method (Angelier & Mechler, 1977) and a dynamic rotational optimisation procedure, which a.o. minimize the observed slip - computer shear mean deviations. Because the data sets are usually composite, with inhomogeneous sets or polyphyase sets of brittle structures, emphasis is given to interactive procedures for data selection and rotation, graphical representation, tensor estimation and optimisation, statistics and data base.

The TENSOR program offers a series of individual routines, assembled in a single executable file. This facilitates greatly the access to the routines, and enhances the conviviality, which guarantees interaction between data entry, data selection, stress inversion, graphic output and listing of results. This causes the executing file to be quite large (480 Kb), but this can easily be handled by modern Personal computers. In addition to the TENSOR executable file, two default files (*.DEF) contain the necessary parameters to run the program and a series of text files (*.TXT) are read and displayed inside the TENSOR program, during execution of the Help routine. All these files constitute the TENSOR package.

TENSOR is running on MS-DOS. The available memory should be large enough to run the executable file of 480 Kb. For a good resolution of the graphics, it screen should be at least color VGA. Output of graphics to the printer is ensured by the Print-Screen command and, therefore, the graphics DOS routine have to be loaded adequately before running the program. The uses of a CPU 286 processor together with a mathematical co-processor is necessary to reduce computing time to a level acceptable for interactive procedure.

The TENSOR program is available from the author, by request at the above address. This includes an executable version of the program that run without need for the QuickBASIC compiler, on-disk documentation and sample data files. It is provided free of charges for non-commercial institutions, only for scientific and education purposes. In the case of publication of results obtained by this program, it is asked to refer to it in the reference list. As reference to this program, the user should mention one of several of the published articles listed in Documentation

This program is the result of a considerable amount of work, realized with the support of several research programs of the Belgian Federal Policy, leaded by the Department of Geology of the Royal Museum for Central Africa (Tervuren, Belgium). The users are then asked to fully acknowledge this effort and ideas developed in this program. If there are any comments or questions, please do not hesitate to contact the .

As a Windows version of Tensor is under development, this Tensor for Dos program will no more be upgraded. The user is therefore asked to regularly contact the author or visit the Tensor web site for getting the last version of the new Win-Tensor program.

Available freely on request or download.
Provided solely for non-commercial, scientific or educational use.
All comments or suggested improvements are welcomed.

TENSOR web site  -  Damien DELVAUX  -  
Royal Museum for Central Africa, Dept. Geology and Mineralogy
Leuvensesteenweg 13, B-3080 Tervuren, Belgium
Tel: +32-(0)2-769.54.26 / Fax: +32-(0)2-769.54.32  -  Email: