1 |
|
|
2 |
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 |
|
% |
4 |
|
% Copyright (c) 2003-2008 by University of Queensland |
5 |
|
% Earth Systems Science Computational Center (ESSCC) |
6 |
|
% http://www.uq.edu.au/esscc |
7 |
|
% |
8 |
|
% Primary Business: Queensland, Australia |
9 |
|
% Licensed under the Open Software License version 3.0 |
10 |
|
% http://www.opensource.org/licenses/osl-3.0.php |
11 |
|
% |
12 |
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
13 |
|
|
14 |
|
|
15 |
\chapter{The Module \pycad} \label{PYCAD CHAP} |
\chapter{The Module \pycad} \label{PYCAD CHAP} |
16 |
|
|
17 |
|
|
280 |
The class and methods described here provide an interface to the mesh |
The class and methods described here provide an interface to the mesh |
281 |
generation software, which is currently gmsh. This interface could be |
generation software, which is currently gmsh. This interface could be |
282 |
adopted to triangle or another mesh generation package if this is |
adopted to triangle or another mesh generation package if this is |
283 |
deemed to be desireable in the future. |
deemed to be desirable in the future. |
284 |
|
|
285 |
\begin{classdesc}{Design}{ |
\begin{classdesc}{Design}{ |
286 |
\optional{dim=3, \optional{element_size=1., \optional{order=1, \optional{keep_files=False}}}}} |
\optional{dim=3, \optional{element_size=1., \optional{order=1, \optional{keep_files=False}}}}} |
311 |
|
|
312 |
\begin{methoddesc}[Design]{setElementSize}{\optional{element_size=1}} |
\begin{methoddesc}[Design]{setElementSize}{\optional{element_size=1}} |
313 |
set the global element size. The local element size at a point is defined as |
set the global element size. The local element size at a point is defined as |
314 |
the global element size multipied by the local scale. The element size must be positive. |
the global element size multiplied by the local scale. The element size must be positive. |
315 |
\end{methoddesc} |
\end{methoddesc} |
316 |
|
|
317 |
|
|
379 |
|
|
380 |
\begin{methoddesc}[Design]{getMeshHandler}{} |
\begin{methoddesc}[Design]{getMeshHandler}{} |
381 |
returns a handle to the mesh. The call of this method generates the mesh from the geometry and |
returns a handle to the mesh. The call of this method generates the mesh from the geometry and |
382 |
returns a mechnism to access the mesh data. In the current implementation this |
returns a mechanism to access the mesh data. In the current implementation this |
383 |
method returns a file name for a gmsh file containing the mesh data. |
method returns a file name for a gmsh file containing the mesh data. |
384 |
\end{methoddesc} |
\end{methoddesc} |
385 |
|
|