How to Work with the C# Module and Example (Computing the Deviation Between Two Fields)

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.

Contact & Trial


Phone +49.3641.53129-50

info (at)

VirtualLab Fusion

Get free trial version

Get an offer