How to Work with the C# Module and Example

(Computing the Deviation Between Two Fields)

Abstract


Offering maximum versatility for your optical simulations is one of our most central aims. Nowhere is this versatility more apparent than in the Module: while other programmable elements in VirtualLab Fusion (sources, detectors, components, etc.) have a predetermined input and output type, the Module gives the user total freedom of implementation. One reason for that is the fact that it functions outside the Optical Setup document, so it is up to the user’s discretion to decide on the input and output of the code: this also means that reading in and delivering the different file types is fundamental.

VirtualLab Fusion Configuration

  • VirtualLab Fusion VirtualLab Fusion

Are you interested in further reading?

Tutorial

Programming a Module that Smooths the Edges of a Structure

This programmable module is designed to be applied to the sharp result of a designed structure, and it will round off the edges according to user-specified values.