Husa, Sascha; Hinder, Ian; Lechner, Christiane Kranc: a Mathematica package to generate numerical codes for tensorial evolution equations. (English) Zbl 1196.68327 Comput. Phys. Commun. 174, No. 12, 983-1004 (2006). Summary: We present a suite of Mathematica-based computer-algebra packages, termed Kranc, which comprise a toolbox to convert certain (tensorial) systems of partial differential evolution equations to parallelized C or Fortran code for solving initial boundary value problems. Kranc can be used as a “rapid prototyping” system for physicists or mathematicians handling very complicated systems of partial differential equations, but through integration into the Cactus computational toolkit we can also produce efficient parallelized production codes. Our work is motivated by the field of numerical relativity, where Kranc is used as a research tool by the authors. In this paper we describe the design and implementation of both the Mathematica packages and the resulting code, we discuss some example applications, and provide results on the performance of an example numerical code for the Einstein equations. Cited in 7 Documents MSC: 68W30 Symbolic computation and algebraic computation 81-04 Software, source code, etc. for problems pertaining to quantum theory Keywords:numerical relativity; Kranc; computer algebra; code generation; partial differential equations; finite differencing Software:Kranc; Cactus; Mathematica; GRTensorII; MathTensor; Ricci PDFBibTeX XMLCite \textit{S. Husa} et al., Comput. Phys. Commun. 174, No. 12, 983--1004 (2006; Zbl 1196.68327) Full Text: DOI arXiv References: [1] Lehner, L., Class. Quant. Grav., 18, R25 (2001), For an overview of current issues and PDE problems arising in numerical relativity, and for further references, see, e.g. [2] E. Schnetter, Gauge fixing for the simulation of black hole spacetimes, PhD thesis, Universität Tübingen, 2003, http://w210.ub.uni-tuebingen.de/dbt/volltexte/2003/819/; E. Schnetter, Gauge fixing for the simulation of black hole spacetimes, PhD thesis, Universität Tübingen, 2003, http://w210.ub.uni-tuebingen.de/dbt/volltexte/2003/819/ [3] Cook, G. O., ALPAL, a program to generate physics simulation codes from natural descriptions, Internat. J. Modern Phys. C, 1, 1 (1990) [4] Cook, G. O.; Painter, J. F.; Brown, S. A., How symbolic computation boosts productivity in the simulation of partial differential equations, J. Sci. Comput., 6, 2, 193-209 (1991) · Zbl 0746.68105 [5] Ruppelt, T.; Wirtz, G., Automatic transformation of high-level object-oriented specifications into parallel programs, Parallel Comput., 10, 15 (1989) · Zbl 0673.68013 [6] Thornburg, J., A PDE compiler for full-metric numerical relativity, (Frontiers in Numerical Relativity (1989), Cambridge University Press), 370 [7] Pasquali, M.; Scriven, L. E., Free surface flows of polymer solutions with models based on the conformation tensor, J. Non-Newtonian Fluid Mech., 108, 363-409 (2002) · Zbl 1143.76369 [8] M. Pasquali, Polymer molecules in free surface coating flows, PhD Thesis, University of Minnesota, 2000; M. Pasquali, Polymer molecules in free surface coating flows, PhD Thesis, University of Minnesota, 2000 [9] Musgrave, P.; Pollney, D.; Lake, K., Fields Institute Comm., 15, 313 (1996) [10] Wald, R., General Relativity (1984), University of Chicago Press · Zbl 0549.53001 [11] Penrose, R.; Rindler, W., Spinors and Space-Time: Two-Spinor Calculus and Relativistic Fields (1984), Cambridge University Press · Zbl 0538.53024 [12] Lee, J., Ricci, a Mathematica package for doing tensor calculations in differential geometry [13] Martín-García, J. M., xTensor [14] Parker, L.; Christensen, S., MathTensor: A System for Doing Tensor Analysis by Computer (1994), Addison-Wesley [15] The MPI Forum [17] Portable, Extensible toolkit for scientific computation [18] Thornburg, J., Class. Quant. Grav., 21, 2, 743-766 (2004) [19] Diener, P., Class. Quant. Grav., 20, 4901-4918 (2003) [20] Gustafsson, B.; Kreiss, H.; Oliger, J., Time Dependent Problems and Difference Methods (1995), John Wiley and Sons · Zbl 0843.65061 [21] Hawke, I., for a short description and download instructions see [22] Alcubierre, M.; Brandt, S.; Bruegmann, B.; Holz, D.; Seidel, E.; Takahashi, R.; Thornburg, J., Internat. J. Modern Phys. D, 10, 273-290 (2001) [23] Husa, S.; Lechner, C., (Lobo, A.; etal., Proceedings of the Spanish Relativity Meeting (ERE 2002), Maó, Menorca, Spain, 22-24 September 2002 (2003), Barcelona University Press), e-Print archive [24] York, J. W., Kinematics and dynamics of general relativity, (Smarr, L., Sources of Gravitational Radiation (1979), Cambridge University Press) · Zbl 0418.58016 [25] Alcubierre, M., Class. Quant. Grav., 21, 589-613 (2004) [26] See · Zbl 1040.68138 This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.