Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codes/CarpetXGPU.wl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* ::Package:: *)

(* Carpet.wl, set up functions adapted to Carpet code *)
(* CarpetXGPU.wl, set up functions adapted to CarpetXGPU code *)

(* (c) Liwei Ji, 01/2025 *)

Expand Down
2 changes: 1 addition & 1 deletion codes/CarpetXPointDesc.wl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* ::Package:: *)

(* Carpet.wl, set up functions adapted to Carpet code *)
(* CarpetXPointDesc.wl, set up functions adapted to CarpetXPointDesc code *)

(* (c) Liwei Ji, 01/2025 *)

Expand Down
2 changes: 1 addition & 1 deletion src/Component.wl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ PrintComponent[coordinate_, varinfo_, compname_, extrareplacerules_] :=
PrintComponent::EMode = "PrintMode unrecognized!";

(*
1. Set components for tensors (How would print them in c/c++ code)
1. Set components for tensors (How to print them in c/c++ code)
2. Set global map between tensor component and varlist index ( $MapComponentToVarlist ):
case1 (start at 'new varlist', in this case, user should be careful when they define varlist)
{a00 a01 ... b00 b01 ...}, {e00 e01 ... f00 f01 ...}, ...
Expand Down
2 changes: 1 addition & 1 deletion src/stencils/FiniteDifferenceStencils.wl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ GetFiniteDifferenceCoefficients::shortSample = "The 'sample' list must have at l

Protect[GetFiniteDifferenceCoefficients];

(* calculate the coefficients used in Derivs thorn when use upwind derivative:
(* calculate the coefficients used in Derivs thorn when using upwind derivative:
https://github.com/EinsteinToolkit/CarpetX/blob/main/Derivs/src/derivs.hxx
*)
GetUpwindCoefficients[sample_?ListQ] := Module[{numPoints, numCoeff, upwind, dnwind, symmCoeffs, antiCoeffs, symm, anti, eqns, coeffs},
Expand Down