arrow
Return

TurboPy: A lightweight python framework for computational physics

delete2021-01-01
delete4
delete
OA
AI
A
A. S. Richardson *
D
D. Gordon
S
S. B. Swanekamp
I
I. M. Rittersdorf
P
P. E. Adamson
O
O.S. Grannis
G
G. Morgan
A
A. Ostenfeld
K
K.L. Phlips
C
Chao Sun
G
Guangqi Tang
D
Darryl J. Watkins
DOI:10.1016/j.cpc.2020.107607delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Computational physics problems often have a common set of aspects to them that any particular numerical code will have to address. Because these aspects are common to many problems, having a framework already designed and ready to use will not only speed the development of new codes, but also enhance compatibility between codes. Some of the most common aspects of computational physics problems are: a grid, a clock which tracks the flow of the simulation, and a set of models describing the dynamics of various quantities on the grid. Having a framework that could deal with these basic aspects of the simulation in a common way could provide great value to computational scientists by solving various numerical and class design issues that routinely arise. This paper describes the newly developed computational framework that we have built for rapidly prototyping new physics codes. This framework, called turboPy, is a lightweight physics modeling framework based on the design of the particle-in-cell code turboWAVE. It implements a class (called Simulation) which drives the simulation and manages communication between physics modules, a class (called PhysicsModule) which handles the details of the dynamics of the various parts of the problem, and some additional classes such as a Grid class and a Diagnostic class to handle various ancillary issues that commonly arise. Program summary Program Title: TurboPy CPC Library link to program files: http:fidx.dm.org/10.17632/rznn6s5myw. 1 Developer's repository link: https: igithub.com/NRL-Plasma-Physics-Division/turbopy Licensing provisions: CC0 1.0 Programming language: Python Nature of problem: Many computation physics problems have a common set of aspects to them that are often addressed in a custom way in every different code, which leads to lengthy and redundant development and testing, as well as introducing roadblocks to interoperability. Solution method: Implement a set of python classes as a lightweight framework that deals with these common problems, so that development time on new computational physics codes is reduced, and interoperability and reusability are increased. References: A.S. Richardson et al., TurboPy: A lightweight computational physics framework. NRL-Plasma-Physics-Divisioniturbopy (v2020.08.05). doi: 10.5281/zenodo.3973693 Published by Elsevier B.V.
Keywords:
Framework
Physics
Computational physics
Python
Dynamic factory pattern
Resource sharing

AI Summary

Brief Overview

In April 2015, Banu Gökarıksel and Anna Secor published the paper "Post-secular geographies and the problem of pluralism: Religion and everyday life in Istanbul, Turkey" online in Political Geography. This study reveals the authentic everyday landscape of religious-secular coexistence through in-depth interviews with devout Sunni Muslim women wearing headscarves in Istanbul. By focusing on spaces where ordinary people live their daily lives, such as households, communities, and city streets, it captures how these women negotiate differences in specific scenes, including neighborhood interactions, street encounters, cafes, and weddings. It presents how "respect" has replaced "tolerance" as the practical logic of plural coexistence and exposes the huge gap between institutional inclusion and street-level exclusion. It provides a new, life-experience-grounded perspective for understanding the complex interactions among religion, gender, and public space in contemporary society.

Research Abstract

In a country like Turkey that maintains the separation of church and state while increasingly accommodating religious expression, enabling people of different beliefs and lifestyles to truly share urban space is a core challenge concerning democratic quality. Previous research has focused primarily on government policies and elite discourse, neglecting how ordinary people—particularly headscarf-wearing women, who are often stigmatized—daily "practice" pluralistic coexistence when buying groceries, riding the bus, shopping, and attending weddings. Moving beyond grand narratives, this study listens to the accounts of 39 women through focus groups, capturing their hesitation over sharing food with Alevi neighbors, their choice of which table to sit at in an alcohol-filled restaurant, and the grievance of being verbally heckled on the street with the command to "take off your headscarf first before celebrating." These seemingly trivial choices are, in reality, silent votes on who public space belongs to. The results demonstrate that genuine pluralism is found not in constitutional clauses, but in the pie passed and then withdrawn between neighbors, in the silence of nods exchanged without deep conversation on the subway, and in the tension between the desire to uphold faith and the desire to be regarded as ordinary citizens.

Background

This study focuses on a form of "grounded pluralism" that relies not on legal enforcement, but on maintaining relations through a neighbor's invitation to eat or a moment of proactive, silent avoidance. However, when headscarf-wearing women enter cafes in the Sultanahmet district of Istanbul or play with their children in the upscale Beyoğlu neighborhood, they frequently face cold stares, service refusal, or even physical attacks. This hostility from strangers stems not from their faith itself, but from the fact that their presence challenges certain people's entrenched imagination of what a secular city should look like. Strategy A, the state-promoted discourse of "tolerance," creates a politically correct atmosphere but often serves as a fig leaf covering discrimination; Strategy B, religious communities building "alcohol-free" commercial circles, provides a safe space but may accelerate belief-based spatial segregation in the city. Therefore, how to enable different groups to naturally share the same streets, parks, and shopping malls without retreating, compromising, or being forced into assimilation remains an unresolved key contradiction.

Key Highlights

  1. Making "respect" into an actionable life guide: The study found that women practice respect not through abstract slogans, but through concrete actions such as "not touching food cooked by others," "proactively avoiding tables where alcohol is consumed," and "bringing prayer mats for friends," thereby turning concepts into effortless gestures that allow intimate relationships to bridge faith divides.
  2. Deconstructing the "public-private dichotomy" through everyday space: Women discuss religion in their home kitchens, chat with Alevi neighbors at the community entrance, and drink colas with friends on the bar street. These behaviors demonstrate that the so-called "private" and "public" spheres are already fused, much like WeChat messages, which are private on the phone but can at any time be forwarded to the public Moments feed.
  3. Using the "headscarf plus alcohol" prism to illuminate urban contradictions: The headscarve symbolizes religious visibility, while alcohol represents secular freedom. The tension generated when they meet on the street is more direct than any policy document. This is equivalent to using the test question "Is beer sales in bubble tea shops allowed?" to measure the city's overall inclusivity level.

Summary and Outlook

Based on in-depth observation of the daily practices of women in Istanbul, this study achieves an embodied interpretation of pluralistic coexistence through the micro-mechanism of "respect as action." This approach possesses the dual advantages of high contextual sensitivity and strong subject agency. The results show that individuals are able to maintain neighborhood mutual-aid networks even when facing verbal attacks in anonymous street encounters, and are able to coordinate seating arrangements acceptable to both sides at interfaith weddings. This study not only addresses the industry pain point of transforming pluralism from political rhetoric into a life capability, but also provides a transferable cognitive framework for spatial governance in global immigrant cities, multi-ethnic residential areas, and campus communities through an interdisciplinary methodology combining geography, feminism, and religious studies. The research team's subsequent nationwide tracking project is attempting to translate the wisdom gained from markets, kindergartens, and community centers into an "inclusive spatial design manual" for urban planners.

PyLCP: A Python package for computing laser cooling physics
err2022-01-01
err15
errOAAI
errEckel, Stephen; Barker, Daniel S.; Norrgard, Eric B.; Scherschligt, Julia
errShare
errSave
Playdoh: A lightweight Python library for distributed computing and optimisation
err2013-09-01
err12
PREAI
errRossant, Cyrille; Fontaine, Bertrand; Goodman, Dan F. M.
errShare
errSave
errShare
errSave
A memory footprint optimization framework for Python applications targeting edge devices
err2023-09-01
err0
errOAAI
errKatsaragakis, Manolis; Papadopoulos, Lazaros; Konijnenburg, Mario; Catthoor, Francky; Soudris, Dimitrios
errShare
errSave

Journal

Computer Physics Communications cover
Computer Physics Communications
IF:
3.4
Papers:
1.2W
Citations:
4.7W

Organization

U
united states navy
Scholars:
66
Papers: 40
Citations: 3.2K
United States Department of Defense cover
United States Department of Defense
Scholars:
2.8W
Papers: 2.3W
Citations: 2.3W
Cited Papers

Cited Papers

Modeling Multiple-Porosity Transport in Gas-Bearing Shale Formations
err2012-04-16
err0
PREAI
errJohn Hudson; Faruk Civan; Guillermo Michel-Villazon; Deepak Devegowda; Richard Sigal
errShare
errSave
Surface Display of Recombinant Proteins onBacillus subtilisSpores
err2001-11-01
err0
errOAAI
errRachele Isticato; Giuseppina Cangiano; Hoa T. Tran; Annalisa Ciabattini; Donata Medaglini; Marco R. Oggioni; Maurilio De Felice; Gianni Pozzi; Ezio Ricca
errShare
errSave
Lethal Pulmonary Air Embolism Caused by the Removal of a Double-Lumen Hemodialysis Catheter
err2014-12-01
err0
PREAI
errHisashi Nagai; Hideyuki Maeda; Ryohei Kuroda; Masatomo Komori; Makoto Nakajima; Akina Nara; Takako Ito-Tsujimura; Kaori Shintani-Ishida; Naoki Yahagi; Ken-ichi Yoshida
errShare
errSave