xamr.AMReXCalculations

class xamr.AMReXCalculations(dataset)[source]

Atmospheric/oceanic calculations using yt’s AMR-native operations

__init__(dataset)[source]

Methods

__init__(dataset)

divergence(u_field, v_field[, w_field])

Calculate divergence across all AMR levels

gradient(field, dim)

Calculate gradient across all AMR levels using yt

vorticity(u_field, v_field)

Calculate vertical vorticity across all AMR levels

__init__(dataset)[source]
gradient(field: str, dim: str) AMReXDataArray[source]

Calculate gradient across all AMR levels using yt

divergence(u_field: str, v_field: str, w_field: str = None)[source]

Calculate divergence across all AMR levels

vorticity(u_field: str, v_field: str)[source]

Calculate vertical vorticity across all AMR levels