Material

Class representing an electromagnetic material.

Contents

Description

Material represents an electromagnetic material with electric permittivity and magnetic permeability. Users should provide the name and color of the material in the constructor

Construction

mat = Material(name, color, eps, [islossless])
mat = Material(name, color, eps, mu, [islossless])

Input Arguments

Example

% Create an instance of Material.
vacuum =  Material('vacuum', 'none', 1.0);
% Use the constructed material in maxwell_run().
[E, H] = maxwell_run({INITIAL ARGUMENTS}, 'OBJ', vacuum, Box([0 100; 0 50; 0 20]), {REMAINING ARGUMENTS});

See Also

maxwell_run