10:10 AM - 11:35 AM (65 min)

# NRPy+ tutorial: Maxwell’s equations in flat space

Leonardo Werneck (West Virginia University)

Abstract: In this tutorial we will provide a thorough introduction of how to implement tensorial expressions using NRPy+ and how to generate an Einstein Toolkit thorn from them. We will focus on the specific case of Maxwell’s equations in flat space using Cartesian coordinates, showcasing how easy it is to convert symbolic expressions implemented in Einstein-like notation using the SymPy package into highly optimized C code that uses both common subexpression elimination (CSE) and single instruction, multiple data (SIMD) compiler intrinsics.

slides: ETKSchoolNRPyTutorial
recording: watch

Edit on GitHub