Skip to content

Commit 369c5b7

Browse files
committed
Ricci non null for r<15, need to trace the potential issue
1 parent 9631c92 commit 369c5b7

35 files changed

+6447
-7037
lines changed

.clang-format

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
BasedOnStyle: LLVM
2+
IndentWidth: 4
3+
ColumnLimit: 100
4+
AlignConsecutiveDeclarations: true
5+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
6+
ConstructorInitializerIndentWidth: 4
7+
BreakConstructorInitializersBeforeComma: false
8+
BreakConstructorInitializers: BeforeColon
9+
AllowAllConstructorInitializersOnNextLine: false
10+
11+
# Use custom brace wrapping settings
12+
BreakBeforeBraces: Custom
13+
14+
BraceWrapping:
15+
AfterFunction: false # Place opening brace on a new line after functions
16+
SplitEmptyFunction: false # Keep empty functions on a single line
17+
AfterClass: false # Place opening brace on a new line after classes
18+
AfterNamespace: false # Place opening brace on a new line after namespaces
19+
AfterControlStatement: false # Place opening brace on a new line after control statements
20+
SplitEmptyRecord: false # Keep empty classes/structs on a single line
21+
22+
# Indent preprocessor directives after the hash symbol
23+
IndentPPDirectives: AfterHash

Doc/CauchyManifold.png

1 Byte
Loading

Pybind/bindings.cpp

Lines changed: 143 additions & 142 deletions
Large diffs are not rendered by default.

Tests/Matrix/Matrix.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ int matrix_tests() {
294294

295295
tensorium::Vector<double> X(dim);
296296
X(0) = 0.0;
297-
X(1) = 4.0;
297+
X(1) = 10.0;
298298
X(2) = M_PI / 2.0;
299299
X(3) = 0.0;
300300

@@ -318,7 +318,7 @@ int matrix_tests() {
318318
tensorium::contract_tensor<0, 1>(R);
319319
std::cout << "Riemann tensor contracted:\n";
320320
std::cout << "Riemann tensor contracted to Ricci tensor:\n";
321-
double dx = 1e-5, dy = 1e-5, dz = 1e-5;
321+
double dx = 1e-4, dy = 1e-4, dz = 1e-4;
322322

323323
double alpha;
324324
tensorium::Vector<double> beta(3);
@@ -345,7 +345,6 @@ int matrix_tests() {
345345
std::cout << "--- SETUP BSSN TEST---\n";
346346
auto bssn = tensorium::setup_BSSN(X, metric, dx, dy, dz);
347347

348-
auto bssn3D = tensorium::setup_BSSN_grid(X, metric, dx, dy, dz);
349348
return 0;
350349
}
351350

0 commit comments

Comments
 (0)