Skip to content

OGRe v1.7.0

Latest
Compare
Choose a tag to compare
@bshoshany bshoshany released this 17 Sep 22:36

v1.7.0 (2021-09-17)

  • New modules:
    • TCalcGeodesicWithTimeParameter[] calculates the geodesic equations with respect to the time parameter (which is assumed to be the first coordinate) instead of an affine curve parameter.
    • TCalcNormSquared[] calculates the norm-squared of a tensor with respect to its metric, that is, the tensor contracted with itself in all indices. For example, for a vector vμ the norm-squared will be vμvμ and for a rank-2 tensor Tμν the result will be Tμν Tμν.
    • TCite[] displays information on how to cite this package in published research. Thank you for citing my work! :)
  • Changes to existing modules:
    • TCalc* modules no longer display a progress bar for the calculation. The progress bar wasn't too useful, since almost all tensor calculations are very fast even on an average laptop. Simplifications are the only operations which take any considerable amount of time, and thus progress bars are now displayed only for simplifications.
    • TCovariantD and TPartialD:
      • If TCovariantD is used on a scalar, it is now replaced automatically with TPartialD to improve performance, since the covariant derivative of a scalar is just a partial derivative anyway.
      • Fixed bug where acting on scalars incorrectly returned a list of lists instead of a vector.
    • TGetComponents now applies a function given in the last argument to the components, and then simplifies them (in parallel, if parallelization is enabled), before returning the components. Note that TShow and TList have already had this option for some time, but now TGetComponents has it too.
    • TLineElement now simplifies the line element before returning it.
    • TSimplify now allows the user to simplify any expression, not just tensor objects. TSimplify[expression] simplifies expression based on the user-defined simplification assumptions set using TSetAssumptions. If expression is a List, the components will be simplified in parallel. The user can thus make use of OGRe's optimized simplification process to simplify any Mathematica expression.
  • Other changes:
    • Fixed a bug where simplification assumptions were not applied correctly if parallelization was enabled.
    • Added arXiv badge to README.md and CHANGELOG.md.
    • Added a CITATION.cff file (in YAML format) to the GitHub repository. This should add an option to get a citation in different formats directly from GitHub repository by clicking on "cite this repository" on the sidebar to the right.
    • Added a CITATION.bib file (in BibTeX format) to the GitHub repository. You can use it to easily cite this package in your papers.