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
3 changes: 0 additions & 3 deletions dev/nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ pkgs.mkShell {
python312Packages.jupyter

cmake-format
<<<<<<< HEAD
cmake-lint
=======
>>>>>>> 8b0f205a866f7f7534d8190e3ebee580ea09f7d8
neocmakelsp
black
pyright
Expand Down
20 changes: 14 additions & 6 deletions input.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@
# Boundary conditions for fields:
# @required
# @type: 1/2/3-size array of string tuples, each of size 1 or 2
# @valid: "PERIODIC", "ABSORB", "FIXED", "ATMOSPHERE", "CUSTOM", "HORIZON"
# @example: [["CUSTOM", "ABSORB"]] (for 2D spherical [[rmin, rmax]])
# @valid: "PERIODIC", "MATCH", "FIXED", "ATMOSPHERE", "CUSTOM", "HORIZON"
# @example: [["CUSTOM", "MATCH"]] (for 2D spherical [[rmin, rmax]])
# @note: When periodic in any of the directions, you should only set one value: [..., ["PERIODIC"], ...]
# @note: In spherical, bondaries in theta/phi are set automatically (only specify bc @ [rmin, rmax]): [["ATMOSPHERE", "ABSORB"]]
# @note: In GR, the horizon boundary is set automatically (only specify bc @ rmax): [["ABSORB"]]
# @note: In spherical, bondaries in theta/phi are set automatically (only specify bc @ [rmin, rmax]): [["ATMOSPHERE", "MATCH"]]
# @note: In GR, the horizon boundary is set automatically (only specify bc @ rmax): [["MATCH"]]
fields = ""
# Boundary conditions for fields:
# @required
Expand All @@ -106,8 +106,8 @@
# @note: In GR, the horizon boundary is set automatically (only specify bc @ rmax): [["ABSORB"]]
particles = ""

[grid.boundaries.absorb]
# Size of the absorption layer in physical (code) units:
[grid.boundaries.match]
# Size of the matching layer for fields in physical (code) units:
# @type: float
# @default: 1% of the domain size (in shortest dimension)
# @note: In spherical, this is the size of the layer in r from the outer wall
Expand All @@ -118,6 +118,14 @@
# @default: 1.0
coeff = ""

[grid.boundaries.absorb]
# Size of the absorption layer for particles in physical (code) units:
# @type: float
# @default: 1% of the domain size (in shortest dimension)
# @note: In spherical, this is the size of the layer in r from the outer wall
# @note: In cartesian, this is the same for all dimensions where applicable
ds = ""

[grid.boundaries.atmosphere]
# @required: if ATMOSPHERE is one of the boundaries
# Temperature of the atmosphere in units of m0 c^2
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ namespace user {

inline PGen() {}

auto FieldDriver(real_t time) const -> DriveFields<D> {
auto AtmFields(real_t time) const -> DriveFields<D> {
return DriveFields<D> { time, Bsurf, Rstar, Omega };
}
};
Expand Down
Loading