Tree [r12] /
History



File Date Author Commit
doc 2008-04-22 scottwales [r2] Added gnu files and licence
m4 2008-04-21 scottwales [r1] Initial repo import
tag 2008-04-28 scottwales [r11] tag 0.4
trunk 2008-05-06 scottwales [r12] FFTW lib check in function
AUTHORS 2008-04-22 scottwales [r2] Added gnu files and licence
COPYING 2008-04-22 scottwales [r2] Added gnu files and licence
ChangeLog 2008-04-28 scottwales [r9] Intermediate load layer for different file type...
INSTALL 2008-04-22 scottwales [r4] Release 0.2
Makefile.am 2008-04-28 scottwales [r9] Intermediate load layer for different file type...
NEWS 2008-04-28 scottwales [r9] Intermediate load layer for different file type...
README 2008-04-22 scottwales [r4] Release 0.2
TODO 2008-04-24 scottwales [r6] Optimizations on MPI calls
aclocal.m4 2008-04-22 scottwales [r2] Added gnu files and licence
assign.cpp 2008-04-28 scottwales [r9] Intermediate load layer for different file type...
configure.ac 2008-04-28 scottwales [r9] Intermediate load layer for different file type...
fftw_choose.h 2008-04-22 scottwales [r3] Fixed normalisation for CIC and TSC
gadgetfile.cpp 2008-04-24 scottwales [r8] Added code to catch memory errors
gadgetfile.h 2008-04-24 scottwales [r6] Optimizations on MPI calls
nbodydata.cpp 2008-04-28 scottwales [r9] Intermediate load layer for different file type...
pow_spec.cpp 2008-04-28 scottwales [r9] Intermediate load layer for different file type...
prototypes.h 2008-04-28 scottwales [r9] Intermediate load layer for different file type...

Read Me

powerspec takes as input a Gadget2 binary snapshot file and calculates
the power spectrum.

Usage:
./powerspectrum [-i I] [-l L] INPUT OUTPUT

Options:
-i --interpolation	Choose interpolation scheme.
			One of NGP, CIC, TSC [CIC]. 

-l --lengthscale	Choose length scale of the Gadget file
			One of kpc, Mpc [Mpc].

Options only look at the first character, so you may use e.g. -i N -l k

Install instructions are in INSTALL

powerspec  Calculates power spectrum from Gadget2 file
Copyright (C) 2008 Scott Wales

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 2 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 WARRANTY; 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, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.