collapse-崩溃-James Kennington Symbolic Tools

collapse-崩溃-James Kennington

发布:2020-12-23 14:16:42.509918

做者:James Kennington

做者邮箱:jwkennington@psu.edu

首页:https://github.com/JWKennington/collapse

文档:None

下载连接

Collapsing Cosmology Research Utilities

PyPI version PyPI downloads PyPI versions Build codecov CodeFactor Quality License

The collapse package contains utilities for computing symbolic and numerical expressions related to the time evolution of collapsing cosmologies. php

Symbolic Tools

The collapse package makes use of sympy to compute symbolic curvature equations (EFE). Specific Detailsgit

Example Computation: FLRW Cosmology

# Load the predefined FLRW metric
from collapse.symbolic import metric, gravity, utilities
flrw = metric.flrw().subs({'c': 1})
flrw

efe_00 = utilities.clean_expr(gravity.einstein_equation(0, 0, flrw))
efe_00

# Can simplify notation using "dots"
metric.simplify_deriv_notation(efe_00, flrw, use_dots=True)

Copy from pypi.org

查询时间:8.45ms
渲染时间:8.578ms

本文同步分享在 博客“zhenruyan”(other)。
若有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一块儿分享。github

相关文章
相关标签/搜索