Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

mode name
drwxr-xr-x doc/
drwxr-xr-x par/
drwxr-xr-x src/
drwxr-xr-x test/
-rw-r--r-- README
-rw-r--r-- interface.ccl
-rw-r--r-- param.ccl
-rw-r--r-- schedule.ccl
README

Cactus Code Thorn CarpetX Author(s) : Erik Schnetter schnetter@gmail.com Maintainer(s): Erik Schnetter schnetter@gmail.com Licence : LGPL

  1. Purpose

Provide a Cactus driver based on AMReX; see https://amrex-codes.github.io.

From the AMReX web site:

A Massively Block-Structured AMR Software Framework and Applications.

  1. Building AMReX library

How to build the AMReX library so that this thorn can use it:

cd $HOME/src/amrex mkdir -p build cd build rm -rf * cmake -DCMAKE_C_COMPILER=/opt/local/bin/gcc -DCMAKE_CXX_COMPILER=/opt/local/bin/g++ -DCMAKE_Fortran_COMPILER=/opt/local/bin/gfortran -DENABLE_OMP=ON -DCMAKE_CXX_FLAGS=‘-march=native’ -DCMAKE_Fortran_FLAGS=‘-march=native’ -DCMAKE_INSTALL_PREFIX=$HOME/amrex .. make -j12 make -j12 install

  1. Visualizing output

This uses yt:

%matplotlib inline import yt ds = yt.load(“wavetoy/phi000010”) ds.field_list (error, phi, phi1, phi2) = ds.field_list slc = yt.SlicePlot(ds, “z”, error, center=[0.0, 0.0, 0.0]) slc.set_log(error, False); slc.show()