[Commits] [ianhinder/Kranc] 0db3fe: TestTensorTools.m: Update name TensorProduct to TT...

Ian Hinder ian.hinder at aei.mpg.de
Thu Mar 19 11:02:19 CDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/ianhinder/Kranc
  Commit: 0db3febe1979381465e36d99efc95a2830c4c7d7
      https://github.com/ianhinder/Kranc/commit/0db3febe1979381465e36d99efc95a2830c4c7d7
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tests/TestTensorTools.m

  Log Message:
  -----------
  TestTensorTools.m: Update name TensorProduct to TTTensorProduct


  Commit: 9282a7a90454703a3f73c25dd66e21b55abdc45d
      https://github.com/ianhinder/Kranc/commit/9282a7a90454703a3f73c25dd66e21b55abdc45d
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tests/TestTensorTools.m

  Log Message:
  -----------
  TestTensorTools.m: Add argument checking for test function


  Commit: 0e45727dc9955810b4e20c654cbb6bf383184c52
      https://github.com/ianhinder/Kranc/commit/0e45727dc9955810b4e20c654cbb6bf383184c52
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tests/TestTensorTools.m

  Log Message:
  -----------
  TestTensorTools.m: Add tests for covariant derivatives

The last one fails because we have an index conflict, and "enhanced
times", which would relabel it, is disabled.


  Commit: fe2f86344798aa49c48f8e79c7a1a8d1fb116047
      https://github.com/ianhinder/Kranc/commit/fe2f86344798aa49c48f8e79c7a1a8d1fb116047
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tools/CodeGen/TensorTools.m

  Log Message:
  -----------
  TensorTools.m: Work around bug in dummy index relabelling

There is some as-yet-unidentified problem with the relabelling of dummy
indices which appears in complicated expressions involving 2nd covariant
derivatives of tensors.  Instead of relying on the relabelling code,
determine a single pool of unused indices in MakeExplicit, and use each
one only once when introducing new dummy indices. This guarantees that
there will be no conflicts, but is more likely to run out of indices
when the pool is empty.  In that case, a fatal error will be reported,
and we will need to either fix the relabelling bug or introduce more
indices.


  Commit: 01b083b9e84779b57e79ec28b52ee4c1f3536c93
      https://github.com/ianhinder/Kranc/commit/01b083b9e84779b57e79ec28b52ee4c1f3536c93
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tools/CodeGen/TensorTools.m

  Log Message:
  -----------
  TensorTools.m: Use a single dummy index for all terms in the covariant derivative expansion

This reduces the number of new dummy indices required.


  Commit: 8248a59ea202609b7192c3585369b5e8e07a5fa5
      https://github.com/ianhinder/Kranc/commit/8248a59ea202609b7192c3585369b5e8e07a5fa5
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tools/CodeGen/TensorTools.m

  Log Message:
  -----------
  TensorTools.m: Add WithAvailableIndices


  Commit: 22d18884310b395d6641a64db83ce54e7cef20bc
      https://github.com/ianhinder/Kranc/commit/22d18884310b395d6641a64db83ce54e7cef20bc
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tools/CodeGen/TensorTools.m

  Log Message:
  -----------
  TensorTools.m: Throw an error if no dummy indices have been made available


  Commit: 748274fbf4669a8ef98886ff717057a06ac3a6be
      https://github.com/ianhinder/Kranc/commit/748274fbf4669a8ef98886ff717057a06ac3a6be
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tests/TestTensorTools.m

  Log Message:
  -----------
  TestTensorTools.m: Catch exceptions

For some reason, uncaught exceptions were causing a silent exit of the
script.


  Commit: c0627a083446696dfc88a6c33be03308564621b9
      https://github.com/ianhinder/Kranc/commit/c0627a083446696dfc88a6c33be03308564621b9
  Author: Ian Hinder <ian.hinder at aei.mpg.de>
  Date:   2015-03-18 (Wed, 18 Mar 2015)

  Changed paths:
    M Tests/TestTensorTools.m

  Log Message:
  -----------
  TestTensorTools.m: Use WithAvailableIndices for CDtoPD tests

All tests now pass


Compare: https://github.com/ianhinder/Kranc/compare/fbebcbaa0e10...c0627a083446


More information about the Commits mailing list