[ET Trac] [Einstein Toolkit] #1152: Add option to compute center of mass to hydro_analysis and lots of smaller changes
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Feb 11 21:44:31 CST 2014
#1152: Add option to compute center of mass to hydro_analysis and lots of smaller
changes
------------------------------------+---------------------------------------
Reporter: rhaas | Owner:
Type: enhancement | Status: review
Priority: minor | Milestone:
Component: EinsteinToolkit thorn | Version:
Resolution: | Keywords: Hydro_Analysis
------------------------------------+---------------------------------------
Comment (by eschnett):
The centre of mass is not {{{rho x^i / M}}}, but rather {{{sqrt(det(g_ij))
rho x^i / M}}}, where {{{M = sqrt(det(g_ij)) rho}}} (integral signs
omitted).
I don't see how myrho is defined in patch 0006, and it's not currently
defined in Hydro_Analysis either. Maybe myrho = rho sqrt(g)?
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1152#comment:15>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list