Skip to content

Commit

Permalink
Adding author and updating code to latest Firedrake
Browse files Browse the repository at this point in the history
  • Loading branch information
Olender committed Jan 16, 2025
1 parent 72cefa4 commit a0322b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions fig8.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import spyro
import firedrake as fire
import math
import ipdb
# import ipdb


def test_eikonal_values_fig8():
dictionary = {}
dictionary["options"] = {
# Simplexes: triangles or tetrahedra (T) or quadrilaterals (Q)
"cell_type": "T",
# Options: lumped, equispaced or DG. Default is lumped "method":"MLT"
"variant": "lumped", # Options: lumped, equispaced or DG. Default is lumped "method":"MLT"
# (MLT/spectral_quadrilateral/DG_triangle/DG_quadrilateral)
# You can either specify a cell_type+variant or a method
"variant": "equispaced",
# accepted_variants = ["lumped", "equispaced", "DG"]
"degree": 4, # p order
"dimension": 2, # dimension
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

setup(
name="spyro",
version="0.9.0",
version="0.9.1",
license="LGPL v3",
description="Wave modeling with the finite element method",
author="Keith J. Roberts, Alexandre F. G. Olender, Eduardo Moscatelli de Souza, Daiane I. Dolci, Thiago Dias dos Santos, Lucas Franceschini",
author="Keith J. Roberts, Alexandre F. G. Olender, Ruben Andres Salas, Eduardo Moscatelli de Souza, Daiane I. Dolci, Thiago Dias dos Santos, Lucas Franceschini",
url="https://github.com/NDF-Poli-USP/spyro",
packages=find_packages(),
install_requires=[
Expand Down
2 changes: 1 addition & 1 deletion spyro/domains/space.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def FE_method(mesh, method, degree, dim=1):

if method == "mass_lumped_triangle":
element = FiniteElement(
"KMV", mesh.ufl_cell(), degree=degree, variant="KMV"
"KMV", mesh.ufl_cell(), degree=degree,
)
elif method == "spectral_quadrilateral":
element = FiniteElement(
Expand Down

0 comments on commit a0322b3

Please sign in to comment.