Code Monkey home page Code Monkey logo

reef's Introduction

REEF

Residue Enhanced Embedding Formulae

Background

For certain scattering geometries, embedding formulae [1] can be used to efficiently compute the far-field pattern induced by a large range of incident angles. In principle, only a relatively small subset of far-field patterns, induced by canonical angles are required as inputs to each embedding formula. Despite the embedding formulae being exact in theory, in [2] it was shown that they are very sensitive to numerical errors in the canonical far-fields. This Matlab package is a numerically stable implementation of the embedding formulae of [1]. Numerical stability is achieved by adding residue contributions to the embedding formulae, hence the name Residue Enhanced Embedding Formulae.

Usage

The user must provide M, and p, which are defined as in [1], the wavenumber kwave, and M canonical far-field patterns induced by incident angles in a vector alphas. The far-field patterns must be defined as cell array of function handles:

val = D{m}[obs]

where m is the index of the far-field induced by alphas(m); obs and vals are Nx1 vectors of observation angles. Then the code

E = Reef(D,alphas,kwave,p);
Eout = E.getFarField(obs_test,inc_test);

will efficiently compute the cross-section for a large number of incident angles inc_test at the observation angles obs_test.

A full example is provided in EG1.m, which produces the following cross-section with wavenumber 15 on a unit square: HNABEMLAB

Bibliography

[1] Biggs, N.R.T., 2006. A new family of embedding formulae for diffraction by wedges and polygons. Wave Motion, 43(7), pp.517-528.
[2] Gibbs, A., Langdon, S. and Moiola, A., 2018. Numerically stable computation of embedding formulae for scattering by polygons. arXiv preprint arXiv:1805.08988.

reef's People

Contributors

andrewgibbs avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.