* Click the '''OK''' button of the dielectric material dialog to accept the changes and close it.
{{Note|Under dielectric material groups, you cannot draw [[Surface Objects|surface objects]] or [[Curve Objects|[[Curve Objects|[[Curve Objects|[[Curve Objects|curve objects]]]]]]]].}}
<table>
"Show Mesh" generates a new mesh and displays it if there is none in the memory, or it simply displays an existing mesh in the memory. This is a useful feature because generating a PO mesh may take a long time depending on the complexity and size of objects. If you change the structure or alter the mesh settings, a new mesh is always generated. You can ignore the mesh in the memory and force [[EM.Cube]] to generate a mesh from the ground up by selecting '''Menu > Simulate > Discretization > Regenerate Mesh''' or by right clicking on the '''3-D Mesh''' item of the Navigation Tree and selecting '''Regenerate''' from the contextual menu.
To set the PO mesh properties, click on the [[File:mesh_settings.png]] button of the '''Simulate Toolbar''' or select '''Menu > Simulate > Discretization > Mesh Settings... '''or right click on the '''3-D Mesh''' item in the '''Discretization''' section of the Navigation Tree and select '''Mesh Settings...''' from the contextual menu, or use the keyboard shortcut '''Ctrl+G'''. You can change the value of '''Mesh Density''' to generate a triangular mesh with a higher or lower resolutions. Some additional mesh [[parameters]] can be access by clicking the {{key|Tessellation Options}} button of the dialog. In the Tessellation Options dialog, you can change '''Curvature Angle Tolerance''' expressed in degrees, which as a default value of 15°. This parameter can affect the shape of the mesh especially in the case of [[Solid Objects|[[Solid Objects|solid objects]]]]. It determines the apex angle of the triangular cells of the primary tessellation mesh which is generated initially before cell regularization. Lower values of the angle tolerance result in a less smooth and more pointed mesh of curved surface like a sphere.
<table>
When two objects belonging to two different material groups overlap or intersect each other, EM.Libera has to determine how to designate the overlap or common volume or surface. As an example, the figure below shows a dielectric cylinder sitting on top of a PEC plate. The two object share a circular area at the base of the cylinder. Are the cells on this circle metallic or do they belong to the dielectric material group? Note that the cells of the junction are displayed in a different color then those of either groups. To address problems of this kind, EM.Libera does provide a "Material Hierarchy" table, which you can modify. To access this table, select '''Menu > Simulate < discretization < Mesh Hierarchy...'''. The PEC groups by default have the highest priority and reside at the top of the table. You can select an group from the table and change its hierarch using the {{key|Move Up}} or {{key|Move Down}} buttons of the dialog. You can also change the color of junction cells that belong to each group.
Â
You can connect a line object to a touching surface. To connect lines to surfaces and allow for current continuity, you must make sure that the box labeled '''Connect Lines to Touching Surfaces''' is checked in the '''Mesh Settings Dialog'''. If the end of a line lies on a flat surface, [[EM.Cube|EM.CUBE]] will detect that and create the connection automatically. However, this may not always be the case if the surface is not flat and has curvature. In such cases, you have to specifically instruct [[EM.Cube|EM.CUBE]] to enforce the connection. An example of this case is shown in the figure below.
<table>