CREST – Computational Resource for Eroded Surface Topology
CREST_img

Find us on…

GitHub

CREST


Table of Contents

Brief description

CREST - Computational Resource for Eroded Surface Topology - is designed to generate numerical rough surfaces that respect:

  • size: regular grid
  • statistical moments: Skewness and Kurtosis
  • principal correlation lengths: and
  • asperity orientation: angle
  • periodicity: with/without

The programs are written in recent Fortran (2003+)

top

Building CREST

Make sure that the dependencies described below are built.

Debug mode:

make debug

Normal mode:

make

Dependencies

CREST needs some components that are available through the following packages:

  • TOOLIB … Some general tools like FFT, file handling, minimization, sorting, etc.

  • TPGLIB … Some more specific programs like filtering, anisotropy analysis, derivation, etc.

As a consequence the three packages have to be downloaded.

top

Third party components

TOOLIB also uses external codes such as:

.sur surface files can be visualized and analyzed with Gwyddion software, a modular program for SPM (scanning probe microscopy) data visualization and analysis.

Typical use

The program main reads a script file my_script.md where the following parameters are defined:

  • image size (pix)
  • surface size (m)
  • periodicity
  • correlation lengths
  • roughness orientation
  • number of available threads
  • statistical parameters
  • output surface name

as well as the algorithm for rough surface generation.

Run:

./main cfg/my_script.md

top

Full description

Test 1

size m size n width (m) height (m) periodic? Ssk Sku
1024 512 200.e-6 100.e-6 True 30.e-6 10.e-6 -3. 15.

Run:

./main cfg/test01.md

Result: test01_img

Test 2

size m size n width (m) height (m) periodic? Ssk Sku
1024 512 200.e-6 100.e-6 False 30.e-6 10.e-6 -3. 15.

Run:

./main cfg/test02.md

Result: test02_img

top

Documentation

The documentation is automatically generated with FORD, an automatic documentation generator for modern Fortran programs.

top

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but without any warrenty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see the GNU website.

Developer Info

Arthur Francisco