#include <stdio.h>
#include <float.h>
#include "resultlib.h"
#include "rfelements.h"
#include "rferrors.h"
Go to the source code of this file.
Compounds | |
| struct | RFSubface |
| struct | RFInfo |
| struct | RFRunPars |
Defines | |
| #define | MY_EPS .001 |
| MY_EPS is used in mesh editing. | |
| #define | RFFloatEpsilon 10*FLT_EPSILON |
| Floating point epsilon used in result library. | |
| #define | RFDoubleEpsilon 10*DBL_EPSILON |
| double precision epsilon used in result library. | |
| #define | RF_ASSERT(a) |
| Definition of ASSERT. More... | |
| #define | RFNElementTypes 25 |
| |
| #define | RFMaxNodesElement 27 |
| |
| #define | RFPrecNone 0 |
| Do not change current precision. | |
| #define | RFPrecFloat 1 |
| Values are expected as floating point numbers. | |
| #define | RFPrecDouble 2 |
| Values are expected as double precision numbers. | |
| #define | RFPrecInt 3 |
| Values are expected as integers. More... | |
| #define | size_of_datum(prec) |
| Return the size of RFPrecFloat or RFPrecDouble. More... | |
| #define | RFEntityNone 0x0 |
| Signals no change in result type. | |
| #define | RFNodeType 0x1 |
| Results on nodes only. | |
| #define | RFFaceType 0x2 |
| Results on surface element types. | |
| #define | RFCellType 0x4 |
| Results on volume element types. | |
| #define | RFBarType 0x8 |
| Results on BAR element types. | |
| #define | RFNodeEleType 0x10 |
| Results on NODE element types. | |
| #define | RFMaskMeshType 0x1f |
| #define | RFConvertToNode 0x20 |
| #define | RFScalarResult 0x1 |
| Result is a scalar. | |
| #define | RFFixedTensor 0x2 |
| Result is a fixed tensor; ie result descriptor holds size of result per entity. | |
| #define | RFDynamicTensor 0x4 |
| Result is a dynamic tensor; ie each result describes itself. | |
| #define | RFMapNone 0x0 |
| Signal literal values from backend. | |
| #define | RFMapResult 0x1 |
| Map results to application view. | |
| #define | RFIncRindLayers 0x2 |
| Include Rind Layers in results. | |
| #define | RFMapLiteralResult 0x4 |
| Do not convert illegal results to real numbers. More... | |
| #define | RFCellType_NONE 0 |
| Reserved for future use. | |
| #define | RFCellType_NODES -1 |
| Reserved for future use. | |
| #define | RFCellType_UNSTRNODES -2 |
| Reserved for future use. | |
| #define | RFCellType_STRNODES -3 |
| Reserved for future use. | |
| #define | RFCellType_FACES -4 |
| Reserved for future use. | |
| #define | RFCellType_UNSTRFACES -5 |
| Reserved for future use. | |
| #define | RFCellType_STRFACES -6 |
| Reserved for future use. | |
| #define | RFCellType_UNSTRCELLS -7 |
| Reserved for future use. | |
| #define | RFCellType_STRCELLS -8 |
| Reserved for future use. | |
| #define | RFCellType_ALLV3CELLS -9 |
| Reserved for future use. | |
| #define | RFSourceNone 0x0 |
| Do not change current source value. | |
| #define | RFBackendSource 0x1 |
| Result from backend. | |
| #define | RFIntrinsicSource 0x2 |
| Result such as X, Y, or Z of node. | |
| #define | RFCellToNodeSource 0x4 |
| Result derived by converting a cell result to this node result. | |
| #define | RFApplicationSource 0x8 |
| Application is source of results. | |
| #define | RFMethodNone -2 |
| Do not change current method. | |
| #define | RFUseDefaultMethod -1 |
| Use default method (usually cell average). | |
| #define | RFCellAvgWeight 0 |
| Average results on all cells equally. | |
| #define | RFHigherOrder 1 |
| NTI higher order reconstruction. More... | |
| #define | RFInvDistWeight 2 |
| cell result weight = 1/d where d is distance from node to cell center. | |
| #define | RFInvDist2Weight 3 |
| result weight is 1/d**2. | |
| #define | RFVolumeWeight 4 |
| cell result weight is volume of cell. | |
| #define | RFV3_edit_dups 1 |
| Remove duplicate faces in v3_edit. | |
| #define | RFV3_edit_uncface 2 |
| Remove uncovered faces in v3_edit. | |
| #define | RFV3_edit_unusedv 4 |
| Remove unused vertices in v3_edit. | |
| #define | RFV3_edit_faces 8 |
| Classify surfaces and orient faces. More... | |
| #define | RFV3_orient_faces 0x10 |
| Only orient faces to point out of volume. More... | |
| #define | RFV3_edit_quadratic_to_linear 0x20 |
| Convert quadratic elements to linear. | |
| #define | RFV3_edit_uncface2 0x40 |
| 2nd method to add faces to uncovered elements. More... | |
| #define | RFV3_edit_uncface2_family 0x100 |
| Put all new faces from uncovered faces in one family. | |
| #define | RFV3_regular_surface 0 |
| Surface matches 1 volume element. | |
| #define | RFV3_internal_surface 1 |
| Surface matches 2 volume elements. | |
| #define | RFV3_external_surface 2 |
| Surface matches 0 volume elements. | |
| #define | RFV3_wall_surface 3 |
| Reserved for future use. | |
| #define | connect_display_order connect_nastran_order |
| |
| #define | connect_mesh_order connect_icemcfd_order |
| |
| #define | RFCompareExactGrid 0x1 |
| Choices are exact and fuzzy. More... | |
| #define | RFCompareFuzzyGrid 0x2 |
| Compare grid coordinates. | |
| #define | RFCompareExactConn 0x4 |
| Compare mesh connectivity. | |
| #define | RFCompareFuzzyConn 0x8 |
| Compare mesh connectivity. | |
| #define | RFCompareDesc 0x10 |
| Compare all of the mesh/result descriptors. | |
| #define | RFCompareFuzzyDesc 0x20 |
| Compare mesh/result descriptors with allowed differences. | |
| #define | RFCompareFamily 0x40 |
| Include family names/id numbers in comparison. | |
| #define | RFCompareFuzzyFamily 0x80 |
| Include family names/id numbers with allowed differences. | |
| #define | RFCompareFamilyDesc 0x100 |
| Detailed comparison of family fields (ntris, nquads...). | |
| #define | RFCompareFuzzyFamilyDesc 0x200 |
| Detailed comparison of family fields with allowed differences. | |
| #define | RFCompareExactResults 0x400 |
| Compare the results. | |
| #define | RFCompareFuzzyResults 0x800 |
| Compare the results. | |
| #define | RFCompareSort 0x1000 |
| Sort the connectivity arrays to remove ordering problems. | |
| #define | RFCompareMapGrid 0x2000 |
| Map the grid from one mesh to other using octtree. | |
| #define | RFMinEdgeDistTol 0x4000 |
| Use tol * minedge length as distance tolerance. | |
| #define | RFCompareNoNResults 0x8000 |
| Don't compare nresult field. More... | |
| #define | RF_ILLEGAL_COUNT ((size_t) -1) |
| Illegal number of elements or nodes. | |
| #define | RF_ILLEGAL_COUNT_U ((unsigned int) (-1)) |
| Illegal number of elements or nodes. | |
Typedefs | |
| typedef int | RFPrecType |
| Requested precision of the data. More... | |
| typedef int | RFEntityType |
| Possible classes of entities results are valid on. More... | |
| typedef int | RFResultSpace |
| Space of result. More... | |
| typedef int | RFMapResultType |
| Mapping flag is an OR of possible flags. More... | |
| typedef int | RFResultSource |
| Source of result data. More... | |
| typedef int | RFMethodType |
| Methods of converting cell to node results. More... | |
| typedef unsigned int | RFEdits |
| V3 edit flags. More... | |
| typedef int | RFSurfaceType |
| Surface types. More... | |
| typedef enum RFBackendOrder | RFBackendOrder |
| Specify the style of data in the backend reader. | |
| typedef enum RFConnOrder | RFConnOrder |
| Specify the connection order in the internal representation of mesh if possible with the mesh representation. More... | |
| typedef unsigned int | RFCompareType |
| Mesh comparision bit flags. | |
| typedef void | RFInterface |
| Handle for result interface object. | |
| typedef void | RFImpl |
| Handle for factory object. | |
| typedef void | rfobj_impl |
| Handle for rfinfo_base object in use. | |
| typedef void | RFMeshInterface |
| Handle for mesh interface object. | |
| typedef void | RFEvaluator |
| Handle for result evaluator object. | |
| typedef void | RFVertexHandle |
| Handle for vertex handles. | |
| typedef void | RFElementHandle |
| Handle for element handles. | |
| typedef struct RFSubface | RFSubface |
| Structured subface information. | |
| typedef size_t (* | rf_get_cachednodes_func )(void** nodepos, int* prec) |
| Callback to get cached nodes from external application. More... | |
| typedef void (* | rf_message_func )(char *msg) |
| Callback message function. More... | |
| typedef int (* | rf_result_func )(RFInterface *rfint, size_t dom_n, size_t num, double *resdata, char **name, RFEntityType *rt, int tstep, void *auxdata) |
| Callback to define the result data for rf_write_XXX. More... | |
| typedef int (* | rf_enum_face )(RFMeshInterface *mi, RFVertexHandle **vv, int nv, void *data) |
| Callback function invoked when looping over all faces of an element. More... | |
| typedef int (* | rf_enum_facevtx )(RFMeshInterface *mi, int *vtx, int nv, void *data) |
| Callback function invoked when iterating over all faces of an element. More... | |
| typedef int (* | rf_enum_edge )(RFMeshInterface *mi, RFVertexHandle **vv, int nv, void *data) |
| Callback function invoked when iterating over all edges of an element. More... | |
| typedef int (* | rf_enum_vertex )(RFMeshInterface *mi, RFVertexHandle *v, void *data) |
| Callback function used when iterating over all vertices in mesh. More... | |
| typedef int (* | rf_enum_element )(RFMeshInterface *mi, RFElementHandle *el, void *data) |
| Callback function used when iterating over all elements in mesh. More... | |
| typedef long | RF_SIGNED_LONG |
| Longest signed integer on current platform. | |
| typedef int | RFVINTEGER4 |
| Integer*4 FORTRAN return variables. | |
| typedef int* | RFINTEGER4 |
| Integer*4 FORTRAN arguments. | |
| typedef RFVINTEGER4 (* | rf_generic_ftnfunc )(RFInterface **, ...) |
| Generic declaration of C callback functions for FORTRAN interface. | |
| typedef struct RFInfo | RFInfo |
| File I/O data structure. More... | |
| typedef struct RFRunPars | RFRunPars |
| User controlled runtime information. More... | |
| typedef int (* | rf_userparseinit_func )(RFInterface *info, char *buf, int j, char *file, char *format, char *zonemask, int *nfiles, char **files) |
| This callback routine parses the inputinit command line from front end and returns the set of files to be opened. More... | |
| typedef int (* | rf_userexternalload_func )(RFInterface *info, int nfiles, char **files, int *d_tstep, int *d_prec, size_t *nnodes) |
| This callback routine should be used to open (or internally note) the nfiles requested. More... | |
| typedef int (* | rf_userexternalclose_func )(RFInterface *info) |
| This callback function closes the open files in the reader. More... | |
| typedef int (* | rf_userfiledesc_func )(RFInterface *info, size_t nnodes, int tstep) |
| Callback function that can be used to simply determine and specify the number of nodes, elements, and define results. More... | |
| typedef int (* | rf_userexternalgrid_func )(RFInterface *info, int tstep) |
| Callback function that is used to read grid. More... | |
| typedef int (* | rf_userexternalelements_func )(RFInterface *info, int tstep) |
| Callback function that is used to read elements. More... | |
| typedef int (* | rf_userexternalgroups_func )(RFInterface *info, int tstep) |
| Callback function that is used to group elements into families. More... | |
| typedef int (* | rf_userexternalpostmesh_func )(RFInterface *info, int tstep) |
| Callback function that can be used to define results or carry out any other post mesh definition functions. More... | |
| typedef int (* | rf_loadscalarbackend_func )(RFInterface *info, int idnum, char *name, int nvals, RFEntityType type, void *values, int skip, int prec, int tstep) |
| Callback function used to return requested results to caller. More... | |
| typedef int (* | rf_userexternalblank_func )(RFInterface *info, int *ib, int tstep) |
| Callback function to define blanking data structure for structured meshes. More... | |
| typedef int (* | rf_freelocaldata_func )(RFInterface *info, void *data) |
| Callback function to delete user created anonymous data. More... | |
Enumerations | |
| enum | RFBackendOrder { backend_nodestart_zero, backend_nodestart_offset, backend_nodestart_random, backend_cellstart_block, backend_cellstart_random, backend_order_illegal } |
| Specify the style of data in the backend reader. More... | |
| enum | RFConnOrder { connect_nastran_order = 0, connect_icemcfd_order = 1, connect_v3_order, connect_user_order, connect_no_order } |
| Specify the connection order in the internal representation of mesh if possible with the mesh representation. More... | |
Functions | |
| ExportedByResultlib char* | rf_ftn_to_c_string (char *str, int len) |
| ExportedByResultlib void | rf_c_to_ftn_string (char *str, int len) |
| ExportedByResultlib rfobj_impl* | rf_getImpl (RFInterface *info) |
| Return backend implementation. More... | |
| ExportedByResultlib rfobj_impl* | rf_getResults_obj (RFInterface *info) |
| Return result object implementation. More... | |
| ExportedByResultlib struct RFInfo* | rf_getinfo_interface (RFInterface *info) |
| Return internal I/O data structure. More... | |
| ExportedByResultlib RFMeshInterface* | rf_getmesh_interface (RFInterface *info) |
| Return mesh interface implementation. More... | |
| ExportedByResultlib RFInterface* | rf_backend_for (RFImpl *factory, rfobj_impl *rfobj, RFMeshInterface *mi, char *be, int f) |
| Return result interface object representing specified backend. More... | |
| ExportedByResultlib RFInterface* | rf_open (char* file, char* be, int np, char ** pars) |
| Open specified result file and return result interface object representing specified backend. More... | |
| ExportedByResultlib RFInterface* | rf_open_multi (size_t nf, char **files, char* be, int np, char ** pars) |
| Open specified result files and return result interface object representing specified backend. More... | |
| ExportedByResultlib RFInterface* | rfmi_open (char* file, char * be, int np, char ** pars, int force, RFMeshInterface *mi) |
| Open specified result file and return result interface object representing specified backend. More... | |
| ExportedByResultlib RFInterface* | rfmi_open_multi (size_t nf, char **files, char* be, int np, char ** pars, int force, RFMeshInterface *mi) |
| Open specified result files and return result interface object representing specified backend. More... | |
| ExportedByResultlib RFInterface* | rfmi_open_full (size_t nf, char **files, char *be, int np, char **pars, int force, RFImpl *factory, rfobj_impl *rfobj, RFMeshInterface *mi) |
| Open specified result files and return result interface object representing specified backend. More... | |
| ExportedByResultlib int | rf_parse_parameters (RFInterface *info, int np, char **pars) |
| Parse a set of configuration parameters. More... | |
| ExportedByResultlib int | rf_close (RFInterface *info) |
| Close the file and run down the backend gracefully. More... | |
| ExportedByResultlib int | rf_write_to_pipe (RFInterface *info) |
| Cause an external backend to write it's information to an I/O pipe. More... | |
| ExportedByResultlib int | rf_send_line (RFInterface *info, char* buf, int flush) |
| Send a command line to external reader executable. More... | |
| ExportedByResultlib int | rf_recv_line (RFInterface *info, char* buf, int maxchar) |
| Recieve a line (terminated by ) from external reader executable. More... | |
| ExportedByResultlib int | rf_recv_bytes (RFInterface *info, void* buf, int bytes, int block) |
| Recieve a specified number of bytes from external reader executable. More... | |
| ExportedByResultlib RFMeshInterface* | rfmi_openMesh_factory () |
| Create an empty openMesh implementation. More... | |
| ExportedByResultlib RFInterface* | rfmi_rfinfobase_factory () |
| Create an empty rfinfo_base implementation for a front end application. More... | |
| ExportedByResultlib RFInterface* | rfmi_empty_impl (RFMeshInterface *mi) |
| Use rfmi_rfinfobase_factory() to create a rfinfo_base implementation object. More... | |
| ExportedByResultlib int | rf_copy_mesh_from (RFInterface *nm, RFInterface *om) |
| Copy the mesh representation referred to by om to mesh representation referred to by nm. More... | |
| ExportedByResultlib int | rfmi_copy_mesh_from (RFMeshInterface *nm, RFMeshInterface *om) |
| Copy the mesh representation from representation held by om to one held by nm. More... | |
| ExportedByResultlib int | rf_copy_auxinfo (RFInterface *toinfo, RFInterface *frominfo) |
| Copy the auxillery information such as time steps, parameters, and result names from result implementation referenced by frominfo to the one referenced by toinfo. More... | |
| ExportedByResultlib int | rf_settopo_info (RFInterface *info, RFInterface *tinfo, int town) |
| Set the topological information (mesh, families, faces, etc) for given result implementation to be from a different result implementation. More... | |
| ExportedByResultlib int | rf_match_grid (RFInterface *info) |
| Does the topological info match the information we know about the mesh? More... | |
| ExportedByResultlib int | rf_disconnect_topo (RFInterface *info) |
| Disconnect topo object. More... | |
| ExportedByResultlib char* | rf_version (RFInterface *info) |
| Get version information. More... | |
| ExportedByResultlib int | rf_get_runpars (RFInterface *info, RFRunPars *runpars) |
| Get user run parameters. More... | |
| ExportedByResultlib int | rf_set_runpars (RFInterface *info, RFRunPars *runpars) |
| Set user run parameters. More... | |
| ExportedByResultlib char* | rf_title (RFInterface *info) |
| Get the title of the result file data. More... | |
| ExportedByResultlib char* | rf_date (RFInterface *info) |
| Get the date of the result file data. More... | |
| ExportedByResultlib char* | rf_error () |
| Get the current error string. More... | |
| ExportedByResultlib int | rf_set_error (char *e) |
| Set the current error string. More... | |
| ExportedByResultlib int | rf_append_error (char *e) |
| Append to the current error string. More... | |
| ExportedByResultlib int | rf_get_curtimestep (RFInterface *info) |
| Get the current timestep being read by result library. More... | |
| ExportedByResultlib char | rf_timestep_valid (RFInterface *info, int tstep) |
| Ask if the specified timestep is the current timestep being read. More... | |
| ExportedByResultlib char* | rf_get_writefile (RFInterface *info) |
| Get domain file to write if rf_write_domain called. More... | |
| ExportedByResultlib int | rf_set_writefile (RFInterface *info, char *wf) |
| Set name of domain file to write if rf_write_domain called. More... | |
| ExportedByResultlib int | rf_get_maxcache (RFInterface *info) |
| Get the maximum result cache depth. More... | |
| ExportedByResultlib int | rf_set_maxcache (RFInterface *info, int mc) |
| Set the maximum result cache depth. More... | |
| ExportedByResultlib int | rf_read_mesh (RFInterface *info, RFPrecType prec, int tstep) |
| Cause the backend to read the mesh if not yet done. More... | |
| ExportedByResultlib int | rf_free_mesh (RFInterface *info) |
| Free the mesh representation for the application. More... | |
| ExportedByResultlib void* | rf_coordinate_data (RFInterface *info, RFPrecType *prec) |
| Get pointer to the coordinate data of the mesh if it is available to the application. More... | |
| ExportedByResultlib int | rf_nodes (RFInterface *info, void* crds, void* bbmin, void* bbmax, int skip, RFPrecType prec, int tstep) |
| Load in the nodes into crds buffer. More... | |
| ExportedByResultlib int | rf_node_xyz (RFInterface *info, int* prec, void **crds) |
| Fills the crds buffer with node coordinates for current time step. More... | |
| ExportedByResultlib int | rf_copy_nodes (RFInterface *info, void *crds, RFPrecType prec) |
| Fills the crds buffer with node coordinates for current time step. More... | |
| ExportedByResultlib int | rf_bounding_box (RFInterface *info, RFPrecType prec, void *bbmin, void *bbmax, void *crds) |
| Determines bounding box from given coordinate data. More... | |
| ExportedByResultlib int | rf_iblank (RFInterface *info, int* iblank, int tstep) |
| Get the iblanking information for the blocks, one int per structured node from the backend. More... | |
| ExportedByResultlib int* | rf_connectivity_data (RFInterface *info, int type, RFConnOrder *order, int *vtx_offset) |
| Get pointer to the connectivity data of the mesh if it is available to the application. More... | |
| ExportedByResultlib int | rf_cells (RFInterface *info, int iEletype, int* elements, int skip, int tstep) |
| Load the buffer elements with the connectivity of the mesh for specified type. More... | |
| ExportedByResultlib int | rf_cells_order (RFInterface *info, int iEletype, int *elements, int tstep, RF_SIGNED_LONG dvoff, RFConnOrder desired_ord) |
| Similar to rf_cells() except returns connectivity in desired order with specified vertex offset (generally either 0 or 1 depending on if you are using C or FORTRAN array indexing). More... | |
| ExportedByResultlib int | rf_face_cells (RFInterface *info, int* faces, int skip, int tstep) |
| Report QUAD_4 and TRI_3 faces in mesh. More... | |
| ExportedByResultlib int | rf_face_cells_order (RFInterface *info, int* faces, int tstep, RF_SIGNED_LONG dvoff, RFConnOrder desired_ord) |
| Similar to rf_face_cells() except returns connectivity in desired order with specified vertex offset (generally either 0 or 1 depending on if you are using C or FORTRAN array indexing). More... | |
| ExportedByResultlib int | rf_domain_cells (RFInterface *info, int iEletype, int* elements, int skip, int tstep) |
| Similar to rf_cells except that elements also contains family id of each element. More... | |
| ExportedByResultlib int | rf_domain_cells_order (RFInterface *info, int iEletype, int *elements, int tstep, RF_SIGNED_LONG dvoff, RFConnOrder desired_ord) |
| Similar to rf_domain_cells() except returns connectivity in desired order with specified vertex offset (generally either 0 or 1 depending on if you are using C or FORTRAN array indexing). More... | |
| ExportedByResultlib int | rf_copy_cells (RFInterface *info, int iEletype, int *elements, RFConnOrder desired_ord) |
| Fills the elements buffer with connectivity for current time step. More... | |
| ExportedByResultlib size_t | rf_n_domains (RFInterface *info) |
| Return the number of structured domains in mesh. More... | |
| ExportedByResultlib int | rf_ijk_domain (RFInterface *info, size_t dom, int ijk[3]) |
| Return to user the ijk range of the specified domain. More... | |
| ExportedByResultlib size_t | rf_v3_nunodes (RFInterface *info) |
| Return the number of unstructured nodes in the mesh from the application's point of view. More... | |
| ExportedByResultlib size_t | rf_v3_nsnodes (RFInterface *info) |
| Return the number of structured nodes in the mesh from the application's point of view. More... | |
| ExportedByResultlib size_t | rf_v3_nsnodesdom (RFInterface *info, size_t dom) |
| Return the number of structured nodes in specified domain. More... | |
| ExportedByResultlib size_t | rf_num_real_nodes (RFInterface *info) |
| Return the total number of nodes. More... | |
| ExportedByResultlib size_t | rf_be_nunodes (RFInterface *info) |
| Return the number of unstructured nodes in the mesh from the backend's point of view. More... | |
| ExportedByResultlib size_t | rf_be_nsnodes (RFInterface *info) |
| Return the number of structured nodes in the mesh in file. More... | |
| ExportedByResultlib size_t | rf_be_nsnodesdom (RFInterface *info, size_t dom) |
| Return the number of structured nodes in specified domain in file. More... | |
| ExportedByResultlib size_t | rf_v3_nelements (RFInterface *info, int type) |
| Return the number of unstructured elements of specified type in the mesh from the application's point of view. More... | |
| ExportedByResultlib size_t | rf_v3_nelements_literal (RFInterface *info, int type) |
| Return the number of unstructured elements of specified type in the mesh from the application's point of view. More... | |
| ExportedByResultlib RF_SIGNED_LONG | rf_v3_elementstart (RFInterface *info, int type) |
| Return first element number of specified type from application's point of view. More... | |
| ExportedByResultlib size_t | rf_v3_ntot_unstrvolele (RFInterface *info) |
| Return the total number of unstructured volume elements in the mesh from the application view. More... | |
| ExportedByResultlib size_t | rf_v3_ntot_unstrfaceele (RFInterface *info) |
| Return the total number of unstructured face elements in the mesh from the application view. More... | |
| ExportedByResultlib size_t | rf_v3_ntot_unstrele (RFInterface *info) |
| Return the total number of unstructured elements in the mesh from the application view. More... | |
| ExportedByResultlib size_t | rf_v3_ntot_strvolele (RFInterface *info) |
| Return the total number of structured cells in the mesh from the application view. More... | |
| ExportedByResultlib size_t | rf_v3_ntot_strfaceele (RFInterface *info) |
| Return the total number of structured faces in the mesh from the application view. More... | |
| ExportedByResultlib size_t | rf_v3_ntot_strele (RFInterface *info) |
| Return the total number of structured cells + faces in the mesh from the application view. More... | |
| ExportedByResultlib size_t | rf_v3_nscellsdom (RFInterface *info, size_t dom) |
| Return the number of cells in specified structured domain from the application view. More... | |
| ExportedByResultlib size_t | rf_be_nelements (RFInterface *info, int type) |
| Return the number of unstructured elements of specified type in the mesh from the result file. More... | |
| ExportedByResultlib RF_SIGNED_LONG | rf_be_elementstart (RFInterface *info, int type) |
| Return first element number of specified type in the result file. More... | |
| ExportedByResultlib size_t | rf_be_ntot_unstrvolele (RFInterface *info) |
| Return the total number of unstructured volume elements in the mesh from the result file. More... | |
| ExportedByResultlib size_t | rf_be_ntot_unstrfaceele (RFInterface *info) |
| Return the total number of unstructured face elements in the mesh from the result file. More... | |
| ExportedByResultlib size_t | rf_be_ntot_unstrele (RFInterface *info) |
| Return the total number of unstructured elements in the mesh from the result file. More... | |
| ExportedByResultlib size_t | rf_be_ntot_strvolele (RFInterface *info) |
| Return the total number of structured cells in the mesh from the result file. More... | |
| ExportedByResultlib size_t | rf_be_ntot_strfaceele (RFInterface *info) |
| Return the total number of structured faces in the mesh from the result file. More... | |
| ExportedByResultlib size_t | rf_be_ntot_strele (RFInterface *info) |
| Return the total number of structured cells + faces in the mesh from the result file. More... | |
| ExportedByResultlib size_t | rf_be_nscellsdom (RFInterface *info, size_t dom) |
| Return the number of cells in specified structured domain in the result file. More... | |
| ExportedByResultlib int | rf_n_unodes (RFInterface *info) |
| |
| ExportedByResultlib int | rf_n_snodes (RFInterface *info) |
| |
| ExportedByResultlib int | rf_nsnodes_dom (RFInterface *info, int dom) |
| |
| ExportedByResultlib int | rf_n_elements (RFInterface *info, int type) |
| |
| ExportedByResultlib int | rf_ntot_velements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_felements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_elements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_vselements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_fselements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_selements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_n_be_unodes (RFInterface *info) |
| |
| ExportedByResultlib int | rf_n_be_snodes (RFInterface *info) |
| |
| ExportedByResultlib int | rf_n_be_elements (RFInterface *info, int type) |
| |
| ExportedByResultlib int | rf_ntot_be_velements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_be_felements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_be_elements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_be_vselements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_be_fselements (RFInterface *info) |
| |
| ExportedByResultlib int | rf_ntot_be_selements (RFInterface *info) |
| |
| int | rf_entity_dimension (RFEntityType iType) |
| Return the dimension of the entities in specified class. More... | |
| char* | rf_entity_name (RFEntityType iType) |
| Return ASCII name of the entity. More... | |
| ExportedByResultlib int | rf_max_family (RFInterface *info) |
| Return the maximum family id. More... | |
| ExportedByResultlib int | rf_n_bocos (RFInterface *info) |
| Return the number of families in mesh. More... | |
| ExportedByResultlib int | rf_get_bocoid (RFInterface *info, int num) |
| Return the family id given the index of the family. More... | |
| ExportedByResultlib int | rf_boco_info (RFInterface *info, int num, char **name, int *bid, int *id, int *nnodes, int *nnodeele, int *nbars, int *nquads, int *ntris, int *ncells, int *nsubfaces, int *nstrfaces, RFSurfaceType *surfaceType, struct RFSubface **subfaces, int **cached_faces, int *n_cached_faces) |
| Return all information for family. More... | |
| ExportedByResultlib int | rf_boco_infobypid (RFInterface *info, int id, int *num, char **name, int *bid, int *nnodes, int *nnodeele, int *nbars, int *nquads, int *ntris, int *ncells, int *nsubfaces, int *nstrfaces, RFSurfaceType *surfaceType, struct RFSubface **subfaces, int **cached_faces, int *n_cached_faces) |
| Return all information for family given family id number. More... | |
| ExportedByResultlib int | rf_boco_infobyname (RFInterface *info, char *name, int *num, int *bid, int *famid, int *nnodes, int *nnodeele, int *nbars, int *nquads, int *ntris, int *ncells, int *nsubfaces, int *nstrfaces, RFSurfaceType *surfaceType, struct RFSubface **subfaces, int **cached_faces, int *n_cached_faces) |
| Return all information recorded for this family given the family name. More... | |
| ExportedByResultlib int | rf_boco_dimbynum (RFInterface *info, int num, unsigned char *dim_mask) |
| Return the dimension of elements in family by family number. More... | |
| ExportedByResultlib int | rf_boco_dimbypid (RFInterface *info, int famid, unsigned char *dim_mask) |
| Return the dimension of elements in family by family id number. More... | |
| ExportedByResultlib int | rf_boco_dimbyname (RFInterface *info, char *name, unsigned char *dim_mask) |
| Return the dimension of elements in family by family name. More... | |
| ExportedByResultlib int | rf_boco_setdone (RFInterface *info, int num) |
| Set that the definition of the family of given index is now complete. More... | |
| ExportedByResultlib int | rf_boco_isdone (RFInterface *info, int num) |
| Is the family at given family index now complete? Index from (0 to nbocos-1). More... | |
| ExportedByResultlib int | rf_group_new (RFInterface *info, int num, RFEntityType type, RFConnOrder iOrd, int* numbers, int skip, int ext, int do_nodes, int v3_view) |
| Return in array numbers the requested entities of specified family index. More... | |
| ExportedByResultlib int | rf_group (RFInterface *info, int num, RFEntityType type, RFConnOrder iOrd, int* numbers, int skip, int external, int do_nodes) |
| Calls rf_group_new with v3_view set to 1. More... | |
| ExportedByResultlib int | rf_bocos_get_entities (RFInterface *info, RFEntityType type, RFConnOrder iOrd, int **numbers, int v3_view) |
| Return in array numbers the requested entities for all families. More... | |
| ExportedByResultlib int | rf_boco_byindex (RFInterface *info, int num, RFEntityType type, RFConnOrder iOrd, int *numbers, int v3_view) |
| Return in array numbers the requested entities of specified family index. More... | |
| ExportedByResultlib int | rf_boco_bypid (RFInterface *info, int famid, RFEntityType type, RFConnOrder iOrd, int *numbers, int v3_view) |
| Return in array numbers the requested entities of specified family id. More... | |
| ExportedByResultlib int | rf_subface_info (RFInterface *info, struct RFSubface* sf, int* domside, int* nquads) |
| Decodes given subface info into the face and the number of quads in subface. More... | |
| ExportedByResultlib int | rf_get_struct_subfaces (RFInterface *info, char* topo, char* boco) |
| Defines all subfaces in the specified family topo and matches family names to specified family boco files. More... | |
| ExportedByResultlib int | rf_create_groups (RFInterface *info, int bid, int famid, int only_faces) |
| Counts all entities in specified family specified family id. More... | |
| ExportedByResultlib size_t | rf_num_results (RFInterface *info, RFEntityType type) |
| Return number of results in mesh for specified result entity type. More... | |
| ExportedByResultlib size_t | rf_n_results (RFInterface *info) |
| Return number result variables in result file. More... | |
| ExportedByResultlib int | rf_is_cellresult (RFInterface *info, int can_be_intrinsic) |
| Are there any result variables on cells? If can_be_intrinsic is set, includes all intrinsic variables in the assesment. More... | |
| ExportedByResultlib int | rf_result_info (RFInterface *info, int num, char **name, int *idnum, char **srcn, RFEntityType *type, RFResultSource *source, int *is_vec, int *minmax_given, double *minval, double *maxval) |
| Get information about this result at specified index (0 to nresults-1). More... | |
| ExportedByResultlib int | rf_result_info_byidnum (RFInterface *info, int idnum, int *num, char **name, char **srcn, RFEntityType *type, RFResultSource *source, int *is_vec, int *minmax_given, double *minval, double *maxval) |
| This function is provided for convenience. More... | |
| ExportedByResultlib int | rf_result_info_byname (RFInterface *info, char *name, int *num, int *idnum, char **srcn, RFEntityType *type, RFResultSource *source, int *is_vec, int *minmax_given, double *minval, double *maxval) |
| This function is provided for convenience. More... | |
| ExportedByResultlib int | rf_result_info_full (RFInterface *info, int num, char **name, int *idnum, char **srcn, RFEntityType *type, RFResultSource *source, size_t *ndoms, int **rind_lay, int *is_vec, int *minmax_given, double *minval, double *maxval) |
| Get all available information about this result at specified index (0 to nresults-1). More... | |
| ExportedByResultlib int | rf_result_info_full_byidnum (RFInterface *info, int idnum, int *num, char **name, char **srcn, RFEntityType *type, RFResultSource *source, size_t *ndoms, int **rind_lay, int *is_vec, int *minmax_given, double *minval, double *maxval) |
| This function is provided for convenience. More... | |
| ExportedByResultlib int | rf_result_info_fullbyname (RFInterface *info, char *name, int *num, int *idnum, char **srcn, RFEntityType *type, RFResultSource *source, size_t *ndoms, int **rind_lay, int *is_vec, int *minmax_given, double *minval, double *maxval) |
| This function is provided for convenience. More... | |
| ExportedByResultlib size_t | rf_results_by_name (RFInterface *info, char* name, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, int is_vec) |
| Return the result by name. More... | |
| ExportedByResultlib size_t | rf_results (RFInterface *info, int num, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth) |
| Read scalar result specified by index num. More... | |
| ExportedByResultlib size_t | rf_results_byname (RFInterface *info, char *name, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth) |
| This function is provided for convenience. More... | |
| ExportedByResultlib size_t | rf_results_byidnum (RFInterface *info, int idnum, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth) |
| This function is provided for convenience. More... | |
| ExportedByResultlib size_t | rf_results_full (RFInterface *info, int num, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, RFMapResultType map_res) |
| Read scalar result specified by index num. More... | |
| ExportedByResultlib size_t | rf_results_full_byname (RFInterface *info, char *name, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, RFMapResultType map_res) |
| This function is provided for convenience. More... | |
| ExportedByResultlib size_t | rf_results_full_byidnum (RFInterface *info, int idnum, RFEntityType type, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth, RFMapResultType map_res) |
| This function is provided for convenience. More... | |
| ExportedByResultlib RFMethodType | rf_parse_weightmethod (RFInterface *info, char *meth) |
| Convert a cell to node conversion method name to method number. More... | |
| ExportedByResultlib size_t | rf_cell_to_node_result (RFInterface *info, int num, size_t n, void* values, int skip, RFPrecType prec, int tstep, RFMethodType meth) |
| Fill array values with result of cell to node conversion of specified cell to node converted result. More... | |
| ExportedByResultlib int | rf_make_node_result (RFInterface *info, RFMethodType method, void* celldata_v, void* facedata_v, void* nodedata_v, int skip, RFPrecType prec) |
| Fill array nodedata_v with the node conversion given data on volume cells celldata_v and data on face elements facedata_v. More... | |
| ExportedByResultlib int | rf_make_nodeweights (RFInterface *info, RFMethodType meth) |
| Build the internal cell/face to node conversion weight table. More... | |
| ExportedByResultlib int | rf_clear_nodeweights (RFInterface *info) |
| Clear the internal cell/face to node conversion weight table. More... | |
| ExportedByResultlib int | rf_make_nodeneighbor_weights (RFInterface *info, RFMethodType meth, int **offset, int **neighbors, double **weights, int nlayers, int nodes_in_class, int n_allowed_eles, const int *allowed_eles) |
| See rf_backend_interface::make_nodeneighbor_weights() for specification. More... | |
| ExportedByResultlib int | rf_addresult_cache (RFInterface *info, void *token, int cton, RFEntityType type, RFPrecType prec, int tstep, void *values) |
| Add results to result library cache. More... | |
| ExportedByResultlib int | rf_copyresult_cache (RFInterface *info, void *token, RFEntityType type, void *values, size_t n, int skip, RFPrecType prec, int tstep) |
| Copy the results from the cache if a cache entry matches the result cache key. More... | |
| ExportedByResultlib int | rf_flushresult_cache (RFInterface *info, int maxentries) |
| Resize and/or flush the result cache. More... | |
| ExportedByResultlib int | rf_flushresult_celltonode (RFInterface *info) |
| Flush the entries marked cell to node currently in the cache. More... | |
| ExportedByResultlib int | rf_results_dimension (RFInterface *info, char* name) |
| Return the dimension of the named result. More... | |
| ExportedByResultlib size_t | rf_inflate (RFInterface *info, void* data, size_t nbytes, int skip, RFPrecType zprec) |
| Inflate 2D structured mesh data to 3D data by just copying the value in the dimension to be inflated. More... | |
| ExportedByResultlib int | rf_conformalize (RFInterface *info) |
| Reserved for future use. More... | |
| ExportedByResultlib int | rf_init_limits (RFInterface *info, char* limit_var, int limit_on_node, double limit_min, double limit_max) |
| Place limits on given variable. More... | |
| ExportedByResultlib int | rf_n_parameters (RFInterface *info) |
| Return number of parameters defined in result interface. More... | |
| ExportedByResultlib int | rf_parameter_info (RFInterface *info, int num, char **name, char **value) |
| Return the (name, value) pair for parameter at index num. More... | |
| ExportedByResultlib char* | rf_lookup_param (RFInterface *info, char* name) |
| Return the value for specified parameter name. More... | |
| ExportedByResultlib int | rf_define_parameter (RFInterface *info, char *name, char *value) |
| Define a new parameter (name, value) pair. More... | |
| ExportedByResultlib int | rf_define_param (RFInterface *info, char* name, char* value) |
| This function is provided for convenience. More... | |
| ExportedByResultlib int | rf_n_times (RFInterface *info) |
| Return number of time steps available in result file. More... | |
| ExportedByResultlib int | rf_time_info (RFInterface *info, int idx, int *step, float *tv) |
| Get information for time step idx. More... | |
| ExportedByResultlib int | rf_allocate_times (RFInterface *info, int n_times) |
| Before user can add timesteps, user must specify the number of timesteps available in this result file. More... | |
| ExportedByResultlib int | rf_add_timestep (RFInterface *info, int idx, int step, float timeval) |
| Add definition of time step idx. More... | |
| ExportedByResultlib RFInterface* | rfmi_create_cback (rfobj_impl *rfobj, RFMeshInterface *mi, int argc, char **argv, char *form, char *backend, int filesperstep, char filesasstep, rf_userparseinit_func parseinit, rf_userexternalload_func eload, rf_userexternalclose_func eclose, rf_userexternalgrid_func grid, rf_userexternalelements_func elems, rf_userexternalgroups_func groups, rf_userexternalpostmesh_func post, rf_loadscalarbackend_func loadscalar, rf_userexternalblank_func blank, rf_freelocaldata_func freelocal, rf_userfiledesc_func filedesc) |
| Create callback reader. More... | |
| ExportedByResultlib RFInterface* | rfmi_create_ftnback (rfobj_impl *rfobj, RFMeshInterface *mi, int argc, char **argv, char *form, char *backend, int filesperstep, char filesasstep, rf_generic_ftnfunc parseinit, rf_generic_ftnfunc eload, rf_generic_ftnfunc eclose, rf_generic_ftnfunc grid, rf_generic_ftnfunc elems, rf_generic_ftnfunc groups, rf_generic_ftnfunc post, rf_generic_ftnfunc loadscalar, rf_generic_ftnfunc blank, rf_generic_ftnfunc freelocal, rf_generic_ftnfunc filedesc) |
| Create FORTRAN callback reader. More... | |
| ExportedByResultlib int | rf_allocate_vertexmem (RFInterface *info, size_t nverts) |
| Allocate node memory for nverts. More... | |
| ExportedByResultlib int | rf_allocate_strvertexmem (RFInterface *info, size_t dom) |
| Allocate structured node coordinate memory once a structured domain. More... | |
| ExportedByResultlib void* | rf_allocate_nodes (RFInterface *info, RFPrecType prec) |
| Return the block of memory required to hold the node coordinates of precision prec. More... | |
| ExportedByResultlib void* | rf_allocate_elementtype (RFInterface *info, int iEletype) |
| Return the block of memory required to hold the connectivity information for unstructured element type iEletype. More... | |
| ExportedByResultlib int | rf_setNode_style (RFInterface *info, RFBackendOrder ns) |
| Set the node style for this mesh. More... | |
| ExportedByResultlib int | rf_setNode_offset (RFInterface *info, RF_SIGNED_LONG offset) |
| If the node numbers start at a non-zero number, specify the offset with this call. More... | |
| ExportedByResultlib int | rf_setCell_style (RFInterface *info, RFBackendOrder cs) |
| Set the element style for this mesh. More... | |
| ExportedByResultlib int | rf_setValid_elementtypes (RFInterface *info, size_t nvalid, int *vtypes) |
| See rf_backend_interface::setValid_element_types() for details. More... | |
| ExportedByResultlib int | rf_set_infofromgrid (RFInterface *info) |
| Set information counters from the current mesh definition. More... | |