Tidy JCM materials

Tidy JCM materials#

Export materials from the tidy3D aterial library for use in other EM solvers

tidy_jcm_materials.gen_material(material: PoleResidue, name: str = 'TidyMaterial', domain_id: int | list[int] = 1) str[source]#

Generate JCM compatible GeneralizedLorentzPole model from tidy3d.PoleResidue model

Parameters:

material (PoleResidue) – the tidy3d material (i.e. from their database)

Returns:

the ‘Material’ section that needs to be added to the materials.jcm

Return type:

str