Skip to content

Commit

Permalink
Add Moon cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoireHENRY committed Dec 14, 2023
1 parent 04771c0 commit 0c2343a
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
mv bundle $BUNDLE_NAME
if [ "${{ matrix.os }}" == "windows-latest" ]; then
iscc compile/installer.iss /DVERSION=${{ github.ref_name }} /DSETUP_NAME=${{ env.RELEASE_FILE }} /DBUNDLE_PATH=bundle /DASSETS_PATH=assets
iscc compile/installer.iss /DVERSION=${{ github.ref_name }} /F"${{ env.RELEASE_FILE }}"
else
tar cvzf $RELEASE_FILE $BUNDLE_NAME
fi
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kalast"
version = "0.4.0-beta19"
version = "0.4.0-beta20"
authors = ["Grégoire Henry <gregoire.henry@oma.be>"]
edition = "2021"
description = "Thermophysical Model for Binary Asteroids"
Expand Down
6 changes: 3 additions & 3 deletions compile/installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ DefaultDirName=C:\Program Files\{#NAME}
DefaultGroupName={#NAME}
DisableWelcomePage=no
OutputDir=.
OutputBaseFilename={#SETUP_NAME}
; OutputBaseFilename={#SETUP_NAME}
Compression=lzma
SolidCompression=yes
WizardImageFile={#ASSETS_PATH}\vbanner-intro.bmp
WizardImageFile=assets\vbanner-intro.bmp
WizardImageStretch=yes

[Icons]
Expand All @@ -29,4 +29,4 @@ Name: "{group}\{#NAME}"; Filename: "{app}\{#NAME}.exe"; WorkingDir: "{app}"; Ico
Name: "english"; MessagesFile: "compiler:Default.isl"

[Files]
Source: "{#BUNDLE_PATH}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
Source: "bundle\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
44 changes: 44 additions & 0 deletions examples/moon/cfg/cfg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
window:
colormap:
name: inferno
vmax: 500.0
scalar: temperature

simulation:
routines: thermal
step: 600
duration: 300672000
export:
step: 600
duration: 2505600
period: 30067200


scene:
sun:
position:
!cartesian [1.5e11, 0.0, 0.0]
camera:
position:
!cartesian [5.0, 0.0, 0.0]

bodies:
- id: didymos
mesh:
shape: sphere
material:
albedo: 0.1
emissivity: 0.9
thermal_inertia: 100.0
density: 1800.0
heat_capacity: 600.0
spin:
period: 2505600
obliquity: 1.5
interior:
type: linear
size: 40
a: 2e-2
color: data
record:
columns: [114]

0 comments on commit 0c2343a

Please sign in to comment.