next up previous contents
Next: -gccylinder: A circular cylinder Up: Geometric primitives Previous: Geometric primitives   Contents

-brick: a rectangular brick

A brick is a rectangular box, with its edges parallel to the cartesian coordinate axes.
 ##############################################################################
 # Flags: nomenu, noprompt, nomessage,                                        #
 ##############################################################################
 # section -brick                                                             #
 ##############################################################################
 # material=  1, sloppy= no                                                   #
 # whichcells= all, taboo= none                                               #
 #     show= off    -- [off|now|later|all]                                    #
 #     name= brick-000000000                                                  #
 # xlow = undefined     , ylow = undefined     , zlow = undefined             #
 # xhigh= undefined     , yhigh= undefined     , zhigh= undefined             #
 # # # # #                                                                    #
 # volume= (undefined, undefined, undefined, undefined, undefined, undefined) #
 ##############################################################################
 # doit, return, help                                                         #
 ##############################################################################

Example
 # /usr/local/gd1/examples-from-the-manual/brick-example.gdf
 -general
     outfile= /tmp/UserName/example
     scratch= /tmp/UserName/scratch

 -mesh
     pxlow= 0, pxhigh= 1e-2
     pylow= 0, pyhigh= 2e-2
     pzlow= 0, pzhigh= 1e-2
     
     cxlow= ele, cxhigh= mag
     cylow= ele, cyhigh= mag
     czlow= ele, czhigh= mag

     spacing= 0.5e-3

 -brick
     material= 1, sloppy= no
        xlow= 0.3e-2, xhigh= 0.8e-2
        ylow= 0.2e-2, yhigh= 1.3e-2
        zlow= 0.2e-2, zhigh= 0.6e-2
     doit

 -volumeplot
     scale= 3
     doit
Figure 1.1: A simple brick
\begin{figure}\begin{center}\quad \quad
\psfig{figure=brick-example.ps,width=18cm,bbllx=-2pt,bblly=-2pt,bburx=760pt,bbury=552pt,clip=}\end{center}\end{figure}


next up previous contents
Next: -gccylinder: A circular cylinder Up: Geometric primitives Previous: Geometric primitives   Contents