The MATERIALS Section

<< Click to Display Table of Contents >>

Navigation:  Problem Descriptor Reference > The Sections of a Descriptor >

The MATERIALS Section

Previous pageReturn to chapter overviewNext page

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