The University of Southampton
University of Southampton Institutional Repository

fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods

fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods
fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods
The Barnes-Hut and Fast Multipole Methods are widely utilised methods applied in order to reduce the computational cost of evaluating long range forces in $N$-body simulations. Despite this, applying existing libraries to simple problems with higher order source points, such as dipoles, is not straightforward or efficient because individual libraries are optimised towards specific problems, normally solving for the potential and field of a set of Coulombic particles. In this paper we detail the implementation and testing of a software package, fmmgen, in which the source code for Barnes-Hut and Fast Multipole operator functions for calculating calculate the potential, field or both from arbitrary ordered sources is easily generated through symbolic algebra.
physics.comp-ph, cond-mat.mes-hall
Pepper, Ryan Alexander
82ef34fc-7e93-4f98-8f85-ff0e5113ed17
Fangohr, Hans
9b7cfab9-d5dc-45dc-947c-2eba5c81a160
Pepper, Ryan Alexander
82ef34fc-7e93-4f98-8f85-ff0e5113ed17
Fangohr, Hans
9b7cfab9-d5dc-45dc-947c-2eba5c81a160

[Unknown type: UNSPECIFIED]

Record type: UNSPECIFIED

Abstract

The Barnes-Hut and Fast Multipole Methods are widely utilised methods applied in order to reduce the computational cost of evaluating long range forces in $N$-body simulations. Despite this, applying existing libraries to simple problems with higher order source points, such as dipoles, is not straightforward or efficient because individual libraries are optimised towards specific problems, normally solving for the potential and field of a set of Coulombic particles. In this paper we detail the implementation and testing of a software package, fmmgen, in which the source code for Barnes-Hut and Fast Multipole operator functions for calculating calculate the potential, field or both from arbitrary ordered sources is easily generated through symbolic algebra.

Text
2005.12351v1
Download (317kB)

More information

Published date: 25 May 2020
Additional Information: 10 pages, 5 figures
Keywords: physics.comp-ph, cond-mat.mes-hall

Identifiers

Local EPrints ID: 471332
URI: http://eprints.soton.ac.uk/id/eprint/471332
PURE UUID: 66906f2c-a695-49ca-9757-5e7b362f4805
ORCID for Hans Fangohr: ORCID iD orcid.org/0000-0001-5494-7193

Catalogue record

Date deposited: 03 Nov 2022 17:43
Last modified: 17 Mar 2024 02:49

Export record

Contributors

Author: Ryan Alexander Pepper
Author: Hans Fangohr ORCID iD

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×