AMATOS – A FLEXIBLE ENGINE FOR ADAPTIVE GRID COMPUTATIONS. amatos stands for Adaptive Mesh generator for Atmospheric and Oceanic Simulations. It is a software library that eases to a great extend the implementation and development of applications based on adaptive grid refinement. amatos does not provide any ready built method for solving PDEs as they occur in geophysical fluid dynamics, but it completely frees the developer from complicated data management tasks, usually connected to adaptive computations. This article describes the basic principles and simple examples of the functionality of amatos.