Compare commits

...

4 Commits

Author SHA1 Message Date
abb62eadca Merge pull request 'coryab/code' (#2) from coryab/code into develop
Reviewed-on: #2
2023-12-08 08:36:23 +00:00
22a8c88d59 Merge branch 'develop' into coryab/code 2023-12-08 08:35:41 +00:00
ad88407ea0
Add Doxyfile and fix README 2023-12-08 09:33:37 +01:00
1b3b82bb1a
Add formatting 2023-12-08 09:26:07 +01:00
4 changed files with 2825 additions and 1 deletions

46
.clang-format Normal file
View File

@ -0,0 +1,46 @@
# Set the language to C++
Language: Cpp
# Set the language standard to C++11
Standard: Cpp11
# Never use tab for indentation
UseTab: Never
# Set the indent width to be 4 columns
IndentWidth: 4
# Set tab width to be 4 columns
TabWidth: 4
# Set access modifier (public, private, protected) offset to indent left
AccessModifierOffset: -4
# Stop indentation of access modifiers
IndentAccessModifiers: false
# Don't allow a function to be defined on a single line
AllowShortFunctionsOnASingleLine: false
# Set the column limit to 80 characters
ColumnLimit: 80
# If an expression has to be split, then split before binary operators unless
# it's an assignment operator.
BreakBeforeBinaryOperators: NonAssignment
# Use a Linux style brace break.
# Break before braces on function, namespace and class definitions.
BreakBeforeBraces: Stroustrup
# If true, spaces will be inserted after ( and before ).
SpacesInParentheses: false
# If true, spaces will be inserted after [ and before ].
SpacesInSquareBrackets: false
# Separate definition blocks (classes, functions, structs, enums)
SeparateDefinitionBlocks: Always
# Sort includes by type
IncludeBlocks: Regroup

2
.clangd Normal file
View File

@ -0,0 +1,2 @@
CompileFlags:
Add: [-I../include]

2776
Doxyfile Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
# Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2 dimensions
# Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions