alloy Class

class plask.material.alloy(base=None)

Decorator for custom alloy material class.

Parameters:

base (str or material.Material) – Base class specification. It may be either a material object or a string with either complete or incomplete specification of the material. In either case you must initialize the base in the constructor of your material.

Methods

__call__(cls)

Call self as a function.

Descriptions

Method Details

alloy.__call__(cls)

Call self as a function.