MaterialType: Difference between revisions

From Flooxs
Jump to navigation Jump to search
(New page: = Material Command = mater - get and set materials for use through out the program == Synopsis == This command allows materials to be created and listed. === solution === [list] [add...)
 
No edit summary
 
Line 7: Line 7:


=== solution ===
=== solution ===
[add]


[list] [add]
[list] [all] [bulk]
 
[all] [bulk]


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


== Description ==
== Description ==
Line 23: Line 23:
; name
; 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.
: The character string used for the solution. Capitalization is not ignored. "Boron" and "boron" are different. Abbreviations of the name are also not accepted.
; like
; alias
: This lists another material that this new one will inherit properties from.
: 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
: List all of the currently defined materials.
: List all of the currently defined materials.
Line 54: Line 54:
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:
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<br />
* Gas, the default color is wheat<br />
* Oxide<br />
* Oxide, aliases to SiO2 and oxide and the default color is green<br />
* Nitride<br />
* Nitride, aliased to nitride and the default color is magenta<br />
* Silicon<br />
* Silicon, aliased to Si and silicon and the default color is purple<br />
* Polysilicon<br />
* Polysilicon, aliased to poly and the default color is red<br />
* Oxynitride<br />
* Oxynitride, default color is green<br />
* Photoresist<br />
* Photoresist<br />
* Metal<br />
* Metal, default color is blue<br />
* Invisible<br />
* Insulator<br />
* Silicide<br />
* Refractory<br />
* TiNitride<br />
* TiSilicide<br />
* Titanium


All materials can be specified in either lower or upper case. However, we are attempting to move the code toward upper case specification of materials for compatability with the [[pdbCommands | parameter data base]]. Interface materials are specified by listing one material with a preceeding / in the name.
All material names are case sensitive, which is why aliases often have a different case.


For example:
For example:
Line 76: Line 69:
; <tt>Oxide</tt>
; <tt>Oxide</tt>
: Specifies that this command should apply to the oxide material
: Specifies that this command should apply to the oxide material
; <tt>Silicon /Oxide</tt>
; <tt>Silicon /Oxide or Oxide /Silicon or Oxide_Silicon or Silicon_Oxide</tt>
: Specifies that this command applies to the silicon - silicon dioxide interface material.
: Specifies that this command applies to the silicon - silicon dioxide interface material.


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

Latest revision as of 15:40, 14 June 2020

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.