material

class nrv.fmod.material[source]

a class for material, where all the physical properties constants are stored.

by default materials in NRV are considerated as purely conductive. Yet,

Attributes

material.sigma

get the conductivity of the material

material.sigma_xx

get the conductivity of the material along ox

material.sigma_yy

get the conductivity of the material along oy

material.sigma_zz

get the conductivity of the material along oz

Methods

material.__init__()

material instantiation

material.clear_frequency()

set the woking frequency to None

material.get_parameters()

Generic method returning all the atributes of an NRV_class instance

material.is_isotropic()

check that the material is isotropic or not, return true if isotropic, else false

material.is_permitive()

check if the material permitivity and the electric field frequency are set

material.load(data[, blacklist])

Generic loading method for NRV_class instance

material.load_material([data])

material.save([save, fname, blacklist])

Generic saving method for NRV_class instance.

material.save_material([save, fname])

material.set_anisotropic_conductivity(...)

set the conductivity tensor for an anisotropic material

material.set_frequency(freq)

set the frequency of the electric field in the material

material.set_isotropic_conductivity(sigma)

set the conductivity for an isotropic material

material.set_name(name)

set a name to a material

material.set_parameters(**kawrgs)

Generic method to set any attribute of NRV_class instance

material.set_permitivity(epsilon)

set the relative permitivity of the material.

material.set_source(source)

set a source to a material.