{"id":18336786,"url":"https://github.com/seissol/matrices","last_synced_at":"2025-10-12T10:17:04.963Z","repository":{"id":67001327,"uuid":"265615533","full_name":"SeisSol/Matrices","owner":"SeisSol","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-10T09:38:24.000Z","size":305,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-09T19:56:24.262Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeisSol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-20T15:56:56.000Z","updated_at":"2025-03-10T09:38:25.000Z","dependencies_parsed_at":"2025-03-04T22:22:18.180Z","dependency_job_id":"a7051a3f-3fbf-4b69-bd0a-7da363799b5a","html_url":"https://github.com/SeisSol/Matrices","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeisSol%2FMatrices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeisSol%2FMatrices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeisSol%2FMatrices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeisSol%2FMatrices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeisSol","download_url":"https://codeload.github.com/SeisSol/Matrices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103910,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T20:08:56.381Z","updated_at":"2025-10-12T10:16:59.908Z","avatar_url":"https://github.com/SeisSol.png","language":"Python","readme":"![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/sebwolf-de/b9c4e4cac4b1c91e4645e5a319e18c9a/raw/seissol-matrices.json)\n\n# SeisSol Matrices #\n\n## Basis functions ##\n\nWe use the basis functions based on Jacobi polynomials as explained in appendix A of J. de la Puente, ‘Seismic Wave Simulation for Complex Rheologies on Unstructured Meshes’, PhD-Thesis, Ludwig-Maximilians-Universität München, Munich, 2008.\n\n\nOn triangles, we denote the polynomials as $\\Phi_{k(p,q)}$, where $k$ is a multiindex, based on $p$ and $q$.\nIf we use basis functions for order $\\mathcal{O}$, we have $\\frac{1}{2} \\times \\mathcal{O} \\times (\\mathcal{O} + 1)$ basis functions.\n\nOn tetrahedrons, we denote the polynomials as $\\Psi_{k(p,q,r)}$, where $l$ is a multiindex, based on $p$, $q$ and $r$.\nIf we use basis functions for order $\\mathcal{O}$, we have $\\frac{1}{6} \\times \\mathcal{O} \\times (\\mathcal{O} + 1) \\times (\\mathcal{O} + 2)$ basis functions.\n\n## Matrices ##\n\n### Discountinuos Galerkin matrices ###\n\n\n| Notation           | Formula                                       | SeisSol            |\n| ------------------ | --------------------------------------------- | ------------------ |\n| $M_{kl}$           | $\\int_T \\Psi_k \\Psi_l dx$                     | `M3`               |\n|                    | $\\int_T \\Phi_k \\Phi_l dx$                     | `M2`               |\n| $F_{kl}^{-,j}$     | $\\int_T \\Psi_k \\Psi_l dx$                     | `rT`               |\n\n## Usage\n\nUse poetry to install or use the package. In particular, consider the commands\n\n```\n# install\npoetry install\n# format files\npoetry run black src\n# run unit tests\npoetry run coverage run -m nose2\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseissol%2Fmatrices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseissol%2Fmatrices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseissol%2Fmatrices/lists"}