Skip to content

Commit

Permalink
Restored MetricInBasis[q,-BL,{{-f[r[]],0},{0,1/f[r[]]}}];
Browse files Browse the repository at this point in the history
MetricInBasis[q,-BL,{{-f[r[]],0},{0,1/f[r[]]}}];

was accidentally deleted in a previous commit, so I have restored it.

It's not a massive change because it only appears in the covariant formulas
  • Loading branch information
DrAndrewSpiers committed May 10, 2024
1 parent 9a22cf9 commit f88a00e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Kernel/PerturbationEquations.wl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* ::Package:: *)

(* ::Section::Closed:: *)
(* ::Section:: *)
(*Begin Package*)


Expand Down Expand Up @@ -44,11 +44,11 @@ ReportSet[$DefInfoQ,False];
ReportSet[$CVVerbose,False];


(* ::Section::Closed:: *)
(* ::Section:: *)
(*Usage messages*)


(* ::Subsection::Closed:: *)
(* ::Subsection:: *)
(*Rules*)


Expand Down Expand Up @@ -261,7 +261,7 @@ SchwarzschildSource::argserror2 = "Cannot put `1` in output basis `2`";
SchwarzschildCovariantSource::argserror = "Argument `1` is unknown";


(* ::Section::Closed:: *)
(* ::Section:: *)
(*Definitions*)


Expand All @@ -282,6 +282,7 @@ DefScalarFunction[H];
DefChart[Hyp,R2,{0,1},{\[Tau][],r[]},ChartColor->RGBColor[0,1,0]];

DefChart[BL,R2,{0,1},{t[],r[]}];
MetricInBasis[q,-BL,{{-f[r[]],0},{0,1/f[r[]]}}];


$Assumptions=f[r[]]>0;
Expand Down

0 comments on commit f88a00e

Please sign in to comment.