# Created by Octave 3.6.1, Fri Mar 23 19:03:15 2012 UTC # name: cache # type: cell # rows: 3 # columns: 19 # name: # type: sq_string # elements: 1 # length: 16 FPL2dxappenddata # name: # type: sq_string # elements: 1 # length: 848 -- Function File: FPL2dxappenddata ( FILENAME, P, T, U, ATTR_NAME, ATTR_RANK, ATTR_SHAPE, ENDFLIE ) Apends data to a file in DX form. Only one variable can be written to the file variable must be a scalar, vector or tensor of doubles mesh data in the file must be consistent with this variable Variable must be a scalar, vector or tensor of doubles - FILENAME= name of file to save (type string) - P, T = mesh - U = variable to save - ATTR_NAME = name of the variable (type string) - ATTR_RANK = rank of variable data (0 for scalar, 1 for vector, etc.) - ATTR_SHAPE = number of components of variable data (assumed 1 for scalar) - ENDFILE = 0 if you want to add other variables to the same file, 1 otherwise # name: # type: sq_string # elements: 1 # length: 54 P, T, U, ATTR_NAME, ATTR_RANK, ATTR_SHAPE, ENDFLIE ) # name: # type: sq_string # elements: 1 # length: 16 FPL2dxoutputdata # name: # type: sq_string # elements: 1 # length: 660 -- Function File: FPL2dxoutputdata ( FILENAME, P, T, U, ATTR_NAME, ATTR_RANK, ATTR_SHAPE, ENDFILE ) Outputs data in DX form. Variable must be a scalar, vector or tensor of doubles - FILENAME= name of file to save (type string) - P, T = mesh - U = variable to save - ATTR_NAME = name of the variable (type string) - ATTR_RANK = rank of variable data (0 for scalar, 1 for vector, etc.) - ATTR_SHAPE = number of components of variable data (assumed 1 for scalar) - ENDFILE = 0 if you want to add other variables to the same file, 1 otherwise # name: # type: sq_string # elements: 1 # length: 24 Outputs data in DX form. # name: # type: sq_string # elements: 1 # length: 22 FPL2dxoutputtimeseries # name: # type: sq_string # elements: 1 # length: 606 -- Function File: FPL2dxoutputtimeseries ( FILENAME, P, T, U, ATTR_NAME, ATTR_RANK, ATTR_SHAPE, TIME ) Outputs a time series in DX form. variable must be a scalar, vector or tensor of doubles - FILENAME= name of file to save (type string) - P, T = mesh - U = variable to save - ATTR_NAME = name of the variable (type string) - ATTR_RANK = rank of variable data (0 for scalar, 1 for vector, etc.) - ATTR_SHAPE = number of components of variable data (assumed 1 for scalar) - TIME = time instants # name: # type: sq_string # elements: 1 # length: 33 Outputs a time series in DX form. # name: # type: sq_string # elements: 1 # length: 13 FPL2pdequiver # name: # type: sq_string # elements: 1 # length: 275 -- Function File: FPL2pdequiver (MESH, VX, VY, [ PROPERTY, VALUE ...]) Plots the 2D vector field VX, VY defined on the triangulation MESH using opendx. Options (default values): SAMPLE_DENSITY (100) See also: FPL2pdesurf, FPL2ptcsurf, FPL2ptcquiver # name: # type: sq_string # elements: 1 # length: 80 Plots the 2D vector field VX, VY defined on the triangulation MESH using opendx. # name: # type: sq_string # elements: 1 # length: 15 FPL2pdeshowmesh # name: # type: sq_string # elements: 1 # length: 221 -- Function File: FPL2pdeshowmesh (MESH,COLOR) Displays one 2-D triangulations using opendx Examples: FPL2pdeshowmesh(mesh) FPL2pdeshowmesh(mesh,"blue") See also: FPL2ptcshowmesh # name: # type: sq_string # elements: 1 # length: 45 Displays one 2-D triangulations using opendx # name: # type: sq_string # elements: 1 # length: 11 FPL2pdesurf # name: # type: sq_string # elements: 1 # length: 429 -- Function File: FPL2pdesurf (MESH, U [ PROPERTY, VALUE ...]) plots the scalar field U defined on the triangulation MESH using opendx. options (default value): - data_dep ("positions") defines wether data depends on positions or connections - plot_field ("scalar") defines wether to plot the scalar field itself or its gradient See also: MSH2Mgmsh, MSH2Mstructmesh # name: # type: sq_string # elements: 1 # length: 72 plots the scalar field U defined on the triangulation MESH using opendx. # name: # type: sq_string # elements: 1 # length: 13 FPL2ptcquiver # name: # type: sq_string # elements: 1 # length: 248 -- Function File: FPL2ptcquiver (MESH1, COLOR1 VX1, VY1, [ MESH2, COLOR2, VX2, VY2 ...]) Plots the 2D vector fields VX, VY defined on the triangulations MESH using opendx. See also: FPL2pdesurf, FPL2ptcsurf, FPL2pdequiver # name: # type: sq_string # elements: 1 # length: 37 VX1, VY1, [ MESH2, COLOR2, VX2, VY2 . # name: # type: sq_string # elements: 1 # length: 15 FPL2ptcshowmesh # name: # type: sq_string # elements: 1 # length: 177 -- Function File: FPL2ptcshowmesh (MESH1, COLOR1, [MESH2, COLOR2, ...]) Displays two or more 2-D triangulations using opendx See also: FPL2pdeshowmesh # name: # type: sq_string # elements: 1 # length: 53 Displays two or more 2-D triangulations using opendx # name: # type: sq_string # elements: 1 # length: 11 FPL2ptcsurf # name: # type: sq_string # elements: 1 # length: 222 -- Function File: FPL2ptcsurf (MESH1, COLOR1, DATA1 [MESH2, COLOR2,DATA2]) Plots the scalar fields DATA over the triangulation MESH using opendx. Connections will be displayed as defined in COLOR. # name: # type: sq_string # elements: 1 # length: 70 Plots the scalar fields DATA over the triangulation MESH using opendx. # name: # type: sq_string # elements: 1 # length: 14 FPL2trspdesurf # name: # type: sq_string # elements: 1 # length: 311 -- Function File: FPL2trspdesurf (MESH, COLOR, DATA) Plots the transient scalar field U defined on the triangulation MESH using opendx. Connections are rendered as defined by COLOR Example: FPL2trspdesurf(mesh,"blue",data) See also: FPL2pdesurf, FPL2ptcsurf, FPL2trsptcsurf # name: # type: sq_string # elements: 1 # length: 80 Plots the transient scalar field U defined on the triangulation MESH using opend # name: # type: sq_string # elements: 1 # length: 14 FPL2trsptcsurf # name: # type: sq_string # elements: 1 # length: 373 -- Function File: FPL2trsptcsurf (MESH1, COLOR1, DATA1, [MESH2, COLOR2, DATA2]) Plots the transient scalar fields DATA defined on the triangulation MESH using opendx. Connections are rendered as defined by COLOR Example: FPL2trspdesurf(mesh1,"blue",data1, mesh2,"red",data2) See also: FPL2pdesurf, FPL2ptcsurf, FPL2trspdesurf # name: # type: sq_string # elements: 1 # length: 80 Plots the transient scalar fields DATA defined on the triangulation MESH using o # name: # type: sq_string # elements: 1 # length: 17 FPL2vtkoutputdata # name: # type: sq_string # elements: 1 # length: 586 -- Function File: FPL2vtkoutputdata ( FILENAME, P, T, NODEDATA, CELLDATA, HEADER, VTKVER) Save data in VTK ASCII format. - FILENAME = name of file to save into - P, T = mesh node coordinates and connectivity - NAME = name of a mesh variable - NODEDATA/CELLDATA = node/cell centered data fields (2xNfields cell array), *DATA{:,1} = variable names; *DATA{:,2} = variable data; - HEADER comment to add in the file header - VTKVER format version (default is 3.0) See also: FPL2dxoutputdata # name: # type: sq_string # elements: 1 # length: 30 Save data in VTK ASCII format. # name: # type: sq_string # elements: 1 # length: 17 FPL3dxoutputfield # name: # type: sq_string # elements: 1 # length: 730 -- Function File: FPL3dxoutputfield( FILENAME, MESHFILENAME, DEP, U, ATTR_NAME, ATTR_RANK, ATTR_SHAPE, ENDFILE ) Outputs data in DX form. Variable must be a scalar, vector or tensor of doubles - FILENAME = name of file to save (type string) - MESHFILENAME = name of mesh file (type string) - DEP = "positions" for node data, "connections" for element data - FIELD = field data to be saved - ATTR_NAME = name of the variable (type string) - ATTR_RANK = rank of variable data (0 for scalar, 1 for vector, etc.) - ATTR_SHAPE = number of components of variable data (assumed 1 for scalar) # name: # type: sq_string # elements: 1 # length: 24 Outputs data in DX form. # name: # type: sq_string # elements: 1 # length: 16 FPL3dxoutputmesh # name: # type: sq_string # elements: 1 # length: 246 -- Function File: FPL3dxoutputmesh ( FILENAME, MESH ) Outputs data in DX form. Variable must be a scalar, vector or tensor of doubles - FILENAME = name of file to save (type string) - MESH = PDE-tool like mesh # name: # type: sq_string # elements: 1 # length: 24 Outputs data in DX form. # name: # type: sq_string # elements: 1 # length: 18 fpl_dx_write_field # name: # type: sq_string # elements: 1 # length: 1662 -- Function File: fpl_dx_writefield (BASENAME, MESH, U, ATTR_NAME, ATTR_RANK, ATTR_SHAPE, ENDFILE) Output data field in ASCII Open-DX format. BASENAME is a string containing the base-name of the dx file where the data will be saved. MESH is a PDE-tool like mesh, like the ones generated by the "msh" package. U is the field to be saved. It should represent scalar, vector or tensor of doubles. ATTR_NAME is a descriptive name for the field U, while ATTR_RANK is the rank of the field (0 for scalar, 1 for vector, etc.) and ATTR_SHAPE is the number of components of the field (assumed 1 for scalar). ENDFILE should be 0 if you want to add other variables to the same file, 1 otherwise. Notice that when appending fields to an already existing file: * MESH will not be printed to FILENAME, but it will be only used to determine if the field is piece-wise constant or piece-wise linear * U is not checked for consistency against the MESH already printed in FILENAME Example 1 (wrong usage): fpl_dx_write_field("field.dx",msh1,u1,"density",1,0,0); fpl_dx_write_field("field.dx",msh2,u2,"temperature",1,0,1); generate a file that fails at OpenDX run-time. Example 2: fpl_dx_write_field("field",msh1,u1,"density",1,0,0); fpl_dx_write_field("field",msh1,u2,"temperature",1,0,1); will generate a valid OpenDX ASCII data file. See also: fpl_dx_write_series # name: # type: sq_string # elements: 1 # length: 42 Output data field in ASCII Open-DX format. # name: # type: sq_string # elements: 1 # length: 19 fpl_dx_write_series # name: # type: sq_string # elements: 1 # length: 812 -- Function File: fpl_dx_write_series (BASENAME, MESH, U, SP, ATTR_NAME, ATTR_RANK, ATTR_SHAPE) Output data series in ASCII Open-DX format. BASENAME is a string containing the base-name of the dx file where the data will be saved. MESH is a PDE-tool like mesh, like the ones generated by the "msh" package. U is the series to be saved. It should represent scalar, vector or tensor of doubles. SP is the vector of the sampled points (e.g. time points in the case of a time series). ATTR_NAME is a descriptive name for the series U, while ATTR_RANK is the rank of the field items (0 for scalar, 1 for vector, etc.) and ATTR_SHAPE is the number of components of the field items (assumed 1 for scalar). See also: fpl_dx_write_field # name: # type: sq_string # elements: 1 # length: 43 Output data series in ASCII Open-DX format. # name: # type: sq_string # elements: 1 # length: 19 fpl_vtk_write_field # name: # type: sq_string # elements: 1 # length: 1099 -- Function File: fpl_vtk_write_field (BASENAME, MESH, NODEDATA, CELLDATA, ENDFILE) Output data field in serial XML-VTK UnstructuredGrid format. BASENAME is a string containing the base-name of the (vtu) file where the data will be saved. MESH is a PDE-tool like mesh, like the ones generated by the "msh" package. NODEDATA and CELLDATA are (Ndata x 2) cell arrays containing respectively and representing scalars or vectors: - *DATA{:,1} = variable data; - *DATA{:,2} = variable names; ENDFILE should be 0 if you want to add other variables to the same file, 1 otherwise. Example: fpl_vtk_write_field("example",msh1,{nc1, "temperature"}, {cc1, "density"},0); fpl_vtk_write_field("example",msh2,{nc2, "temperature"}, {},1); will generate a valid XML-VTK UnstructuredGrid file. See also: fpl_dx_write_field, fpl_dx_write_series # name: # type: sq_string # elements: 1 # length: 60 Output data field in serial XML-VTK UnstructuredGrid format. # name: # type: sq_string # elements: 1 # length: 7 pdemesh # name: # type: sq_string # elements: 1 # length: 295 -- Function File: H = pdemesh (P, E, T, U) Plot a triangular mesh in 3D given a mesh structure and node data. P, T are the mesh vertices and connectivity, U node data. E is ignored and is accepted only for compatibiity. See also: fpl_dx_write_field, fpl_vtk_write_field # name: # type: sq_string # elements: 1 # length: 66 Plot a triangular mesh in 3D given a mesh structure and node data. # name: # type: sq_string # elements: 1 # length: 7 pdesurf # name: # type: sq_string # elements: 1 # length: 250 -- Function File: H = pdesurf (P, T, U) Plot a 3D surface given node or element data on a triangular mesh. P, T are the mesh vertices and connectivity, U node or element data. See also: fpl_dx_write_field, fpl_vtk_write_field # name: # type: sq_string # elements: 1 # length: 66 Plot a 3D surface given node or element data on a triangular mesh.