HODIF: High-Order Derivatives, Interpolations and Filters for AMR

J. Ray and C. Kennedy

This page contains releases of HODIF, a library of high-order derivatives, interpolations and filters for use in block-structured adaptively refined meshes. The subroutines in the library expect data (the discretized field) to be supplied in multidimensional arrays. Derivatives will be provided up to eighth order, interpolations to tenth order and filters to twentieth order. Only vertex-centered collocations of variables will be supported. Derivatives are evaluated at the mesh points only. Interpolations are meant for prolongations and restrictions but assume a factor-of-two refinement ratio. Filters are provided to remove Runge phenomena.

The modus operandi is to publish results and release revisions of the library to include more and more functionality. The software release will probably lag the publication of the Technical Report since it has to undergo licensing and other paperwork.

Acknowledgements

This work was funded by the Department of Energy’s Office of Science. The work was performed under the Scientific Discovery through Advanced Computing (SciDAC) program as administered by the Office of Advanced Scientific Computing Research (OASCR) and Basic Energy Sciences (BES).

Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation, for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-AC04-94AL85000.

License

Copyright (c) 2006, Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement retains certain rights in this software.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the Sandia National Laboratories nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Releases

Releases are available as a tarred gzip file. In order to download and compile the release, do:

[jaray ]% tar xvf HODIF_v0.1final.tar

Step into the new directory created and read the INSTALL file.

Release 0.1

This release corresponds to the work in the SIAM J. Sc. Comp., 2006 paper, in the Pulications section below. The library contains FORTRAN77 subroutines that operate only on vertex-centered meshes. The interpolation routines expect the level-to-level refinement factor to be 2. Only 1D and 2D interpolations are supported. Only first and second derivatives are supported. Only collocated derivatives are supported. The release comes with examples, Installation and a User’s Manual. The library is best used with other Fortran codes – however, if you know what FORTRAN name-mangling is, you can use this with C/C++ too.

Download Release 0.1. The software is being made available under a BSD license. The Sandia Corporation owns it and the U.S. Government retains certain rights to it.

Publications