Chombo Examples
This example is meant to take the user through the
basics of programming with Chombo.
We present the same application done three different ways
to illustrate how Chombo can be used to make applications.
We have implemented an explicit heat equation solver
with single-grid only implementation, a very basic
domain-decomposition method, and a method that uses
all the relevant Chombo tools.
We present two instances of how to do parallel
input/output in HDF5 using the Chombo infrastructure.
The first is a simple domain-decomposition example which
outputs data from a single union of rectangles. The
second outputs data from a complete adaptive hierarchy
of data.
We present an example of how to use the elliptic library
(AMRElliptic) in the Chombo distribution. This code defines
an adaptive Poisson operator and an AMRSolver class with
that operator. This example also shows how to call the
solver's function to generate an adaptive solution to Poisson's
equation and how to output that function using HDF5 in a way
that is compatible with ChomboVis (see the
ChomboVis page for more information about ANAG visualization
technology).