Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 678 Bytes

File metadata and controls

12 lines (8 loc) · 678 Bytes

Surface-Integral-Equation-program

Calculating optical cross sections from an arbitrary scatterer using surface integral equation.

Run the code through runner.m.

How to build geometrical mesh by COMSOL:

  1. Create the 3D object in COMSOL
  2. Create the free triangular mesh at the object`s surface
  3. Export the surface mesh in .mphtxt format
  4. Import the created mesh in MATLAB. Import these variables: p (triangle vertex points), the first chunk of columns consists of three rows, and t (triangle connection between the vertex points), the second of the three row columns. Add variable tby 1. Save these two variables and create a line to load these variables in runner.m