barrywardell / einsteinexact Goto Github PK
View Code? Open in Web Editor NEWA Cactus arrangement containing thorns which provide analytically computed exact solutions of Einstein's Equations.
License: GNU General Public License v3.0
A Cactus arrangement containing thorns which provide analytically computed exact solutions of Einstein's Equations.
License: GNU General Public License v3.0
The scripts for metrics containing coordinates such as [Theta] and [Phi] fail to compile, with no error message. I assume this is the reason for not having them included in EinsteinExact.m by default. What is then the recommended way to express metrics in polar coordinates?
with 201ad2e a lapse factor of 0.5 and a minkoswki metric otherwise generates a metric with lapse = 2 instead of the expected 0.5. A simple fix is to apply
diff --git a/m/EinsteinExact.m b/m/EinsteinExact.m
index 31948b0..a330d1a 100644
--- a/m/EinsteinExact.m
+++ b/m/EinsteinExact.m
@@ -159,7 +159,7 @@ xformEuler = Module[{Rphi, Rtheta, Rpsi, Rot, xform},
(* Modify lapse *)
xformSlowdown = Module[{xform},
xform = IdentityMatrix[4];
- xform[[1, 1]] = 1 / lapsefactor;
+ xform[[1, 1]] = lapsefactor;
xformSimplify[xform]
];
Currently, EinsteinExact creates two calculations for each metric; one for running during initial data only, and another for running during evolution. Which of these is actually run is determined by a run-time parameter. However, these calculations are identical. It would be better to create just one calculation and have it scheduled differently depending on this parameter. Creating the calculations and compiling the resulting code can take a lot of time.
Does Cactus support the following?
Schedule -> {"in ADMBase_InitialData if ADMBase::initial_data = "<>thorn, "at ANALYSIS if ADMBase::evolution_method = " <> thorn
You can include a grid scalar in the "if" clause of a schedule string, but I suspect nothing more complicated than that.
Probably we need to add a feature to Kranc to apply a different conditional to each schedule entry. I wonder if there is a higher-level or more elegant solution to this, which avoids going down the route of making Kranc just a wrapper around all existing Cactus functionality.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.