<< Click to Display Table of Contents >> The MATERIALS Section |
The MATERIALS section is used to create sets of DEFINITIONS that can be applied to a REGION by the USE MATERIAL statement.
Example:
MATERIALS
"wood" :
a=1
b=2
c=3
"plastic" :
a=10
b=20
c=30
BOUNDARIES
REGION 1
USE MATERIAL "wood"
... ! a is 1 in this region
REGION 2
USE MATERIAL "plastic"
... ! a is 10 in this region
Examples:
Samples | Usage | Misc | Material_Sets.pde