Skip to content

Move reflection coefficient calculation to Boundary.damping() #16

@ccuetom

Description

@ccuetom

Right now, the theoretical reflection coefficient of the boundary is calculated in the Boundary sub-classes:

reflection_coefficient = 10**(-(np.log10(max(*space.absorbing)) - 1)/np.log10(2) - 3)

but this should be the same for all boundaries, so should be moved to Boundary.damping().

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions