MaterialType

From Flooxs
Revision as of 15:40, 14 June 2020 by Law (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Material Command

mater - get and set materials for use through out the program

Synopsis

This command allows materials to be created and listed.

solution

[add]

[list] [all] [bulk]

[name = <c>] [alias = <c>] [color = <pen color>]

Description

This command allows the user to create or list materials that have been defined. There are two main options - either list materials or add materials.

add
Create a new material.
name
The character string used for the solution. Capitalization is not ignored. "Boron" and "boron" are different. Abbreviations of the name are also not accepted.
alias
This allows the user to definite alternates names for materials. For example, SiO2 and Oxide are the same material but two different ways of naming it.
list
List all of the currently defined materials.
all
List all of the defined materials
bulk
List all of the bulk materials in the current grid.

Examples

mater add name=GaN

Create a material named GaN. This material has a parameter data base entry made for it and can now be used in any command.

mater list all

Print a list of all currently defined materials.

mater list bulk

List all materials in the current mesh.

Bugs and Missing Features

None.

Material Specification

Materials are specified the same way for all commands that require a material parameter. Materials can be constructed at the command line and their name will get added to the list of available materials. The initial default list of materials includes these:

  • Gas, the default color is wheat
  • Oxide, aliases to SiO2 and oxide and the default color is green
  • Nitride, aliased to nitride and the default color is magenta
  • Silicon, aliased to Si and silicon and the default color is purple
  • Polysilicon, aliased to poly and the default color is red
  • Oxynitride, default color is green
  • Photoresist
  • Metal, default color is blue

All material names are case sensitive, which is why aliases often have a different case.

For example:

Oxide
Specifies that this command should apply to the oxide material
Silicon /Oxide or Oxide /Silicon or Oxide_Silicon or Silicon_Oxide
Specifies that this command applies to the silicon - silicon dioxide interface material.

Note that materials specification interacts strongly with the parameter data base - names must match or short hands must have been defined.