/[escript]/trunk/doc/user/weipa.tex
ViewVC logotype

Diff of /trunk/doc/user/weipa.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3569 by caltinay, Thu Nov 25 02:17:51 2010 UTC revision 3570 by jfenwick, Thu Sep 1 03:11:26 2011 UTC
# Line 26  the simulation is still running without Line 26  the simulation is still running without
26      holds an {\it escript} dataset including a domain and data variables      holds an {\it escript} dataset including a domain and data variables
27      for a single time step and offers methods to export the data in various      for a single time step and offers methods to export the data in various
28      formats.      formats.
29      It is not recommended to create a dataset object directly in \PYTHON using      It is preferable to create a dataset object using the \var{createDataset}
30      the constructor (it is not actually exposed) but use the      function from \weipa (see \Sec{sec:weipafuncs}) rather than using the (non-exposed)
31      \var{createDataset} function from \weipa instead, see \Sec{sec:weipafuncs}.      \PYTHON constructor for the class.
32    %     It is not recommended to create a dataset object directly in \PYTHON using
33    %     the constructor (it is not actually exposed) but use the
34    %     \var{createDataset} function from \weipa instead, see \Sec{sec:weipafuncs}.
35  \end{classdesc}  \end{classdesc}
36    
37  \noindent The following methods are available:  \noindent The following methods are available:
# Line 225  the save options to your needs in the 'S Line 228  the save options to your needs in the 'S
228  accessible from the 'File' menu. Then select 'Save Window' and you should find  accessible from the 'File' menu. Then select 'Save Window' and you should find
229  an image file with the name and location as entered in the options dialog.  an image file with the name and location as entered in the options dialog.
230    
231  \subsection{Using the \VisIt CLI}  \subsection{Using the \VisIt CLI (command line interface)}
232  We will now perform exactly the same steps as in the last section but using the  We will now perform exactly the same steps as in the last section but using the
233  \PYTHON interface of \VisIt instead of the GUI. Start up the CLI by issuing  \PYTHON interface of \VisIt instead of the GUI. Start up the CLI by issuing
234  \begin{verbatim}  \begin{verbatim}
# Line 237  instead. Line 240  instead.
240  Enter the following commands, one by one, noticing the changes in the  Enter the following commands, one by one, noticing the changes in the
241  visualization window after every block of commands:  visualization window after every block of commands:
242  \begin{python}  \begin{python}
243    OpenDatabase('deform.vtu')    OpenDatabase("deform.vtu")
244    AddPlot('Pseudocolor','stress')    AddPlot("Pseudocolor","stress")
245    DrawPlots()    DrawPlots()
246    
247    p=PseudocolorAttributes()    p=PseudocolorAttributes()
248    p.centering=p.Nodal    p.centering=p.Nodal
249    SetPlotOptions(p)    SetPlotOptions(p)
250    
251    AddOperator('ThreeSlice')    AddOperator("ThreeSlice")
252    DrawPlots()    DrawPlots()
253    
254    t=ThreeSliceAttributes()    t=ThreeSliceAttributes()
# Line 253  visualization window after every block o Line 256  visualization window after every block o
256    t.y=0.3    t.y=0.3
257    SetOperatorOptions(t)    SetOperatorOptions(t)
258    
259    AddPlot('Vector', 'disp')    AddPlot("Vector", "disp")
260    DrawPlots()    DrawPlots()
261    
262    v=VectorAttributes()    v=VectorAttributes()

Legend:
Removed from v.3569  
changed lines
  Added in v.3570

  ViewVC Help
Powered by ViewVC 1.1.26