From fe996ca401054b2c7d205001520723c946f53d07 Mon Sep 17 00:00:00 2001 From: Benedict Geihe Date: Thu, 6 Jun 2024 15:19:34 +0200 Subject: [PATCH] initial commit --- .gitignore | 3 +++ LICENSE.md | 21 +++++++++++++++++++++ Project.toml | 19 +++++++++++++++++++ README.md | 5 +++++ SECURITY.md | 30 ++++++++++++++++++++++++++++++ src/TrixiAtmo.jl | 13 +++++++++++++ src/equations/equations.jl | 0 7 files changed, 91 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.md create mode 100644 Project.toml create mode 100644 README.md create mode 100644 SECURITY.md create mode 100644 src/TrixiAtmo.jl create mode 100644 src/equations/equations.jl diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7e53c4e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +**/Manifest.toml +run +run/* diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..220a3e3 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023-present The Trixi.jl Authors (see [trixi-framework/Trixi.jl/AUTHORS.md](https://github.com/trixi-framework/Trixi.jl/blob/main/AUTHORS.md)) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Project.toml b/Project.toml new file mode 100644 index 0000000..d1e2a7a --- /dev/null +++ b/Project.toml @@ -0,0 +1,19 @@ +name = "TrixiAtmo" +uuid = "c9ed1054-d170-44a9-8ee2-d5566f5d1389" +authors = ["Benedict Geihe "] +version = "0.1.0" + +[deps] +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221" +Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3" +StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" +Trixi = "a7f1ee26-1774-49b1-8366-f1abc58fbfcb" + +[compat] +LinearAlgebra = "1" +MuladdMacro = "0.2.2" +Static = "0.8" +StaticArrays = "1" +Trixi = "0.7" +julia = "1.9" diff --git a/README.md b/README.md new file mode 100644 index 0000000..1f38495 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# TrixiAtmo.jl + +**Note: This repository is still in its alpha stage and anything might change at +any time and without warning, including the deletion of this repository +itself.** diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..2ebbac6 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,30 @@ +# Security Policy + +The Trixi.jl development team takes security issues seriously. We appreciate +all efforts to responsibly disclose any security issues and will make every +effort to acknowledge contributions. + + +## Supported Versions + +The current stable release following the interpretation of +[semantic versioning (SemVer)](https://julialang.github.io/Pkg.jl/dev/compatibility/#Version-specifier-format-1) +used in the Julia ecosystem is supported with security updates. + + +## Reporting a Vulnerability + +To report a security issue, please use the GitHub Security Advisory +["Report a Vulnerability"](https://github.com/trixi-framework/TrixiShallowWater.jl/security/advisories/new) +tab. + +We will send a response indicating the next steps in handling your report. +After the initial reply to your report, we will keep you informed of the +progress towards a fix and full announcement, and may ask for additional +information or guidance. + +Please report security bugs in third-party modules directly to the person +or team maintaining the module. + +Public notifications of vulnerabilities will be shared in community channels +such as Slack. diff --git a/src/TrixiAtmo.jl b/src/TrixiAtmo.jl new file mode 100644 index 0000000..d80c0ee --- /dev/null +++ b/src/TrixiAtmo.jl @@ -0,0 +1,13 @@ +module TrixiAtmo + +using Trixi +# Import additional symbols that are not exported by Trixi.jl +# using Trixi: +using MuladdMacro: @muladd +using StaticArrays: SVector +using Static: True, False +using LinearAlgebra: norm + +include("equations/equations.jl") + +end # module TrixiAtmo diff --git a/src/equations/equations.jl b/src/equations/equations.jl new file mode 100644 index 0000000..e69de29