Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

info.cxx File Reference

This example demonstrates how to get the number of structured domains, structured domain ranges, nodes, elements, families, and results. More...

#include <iostream.h>
#include "resultlib/results.h"
#include "resultlib/rf_backend_interface.h"
#include "domain/element.h"

Functions

template<classT, classT1> T ut_min (const T& x, const T1& y)
int main (int argc, char **argv)
 This example demonstrates how an application can use the result library to create a structured mesh then write out a domain file with results. More...


Detailed Description

This example demonstrates how to get the number of structured domains, structured domain ranges, nodes, elements, families, and results.

No actual results in mesh but uses intrinsic results to simulate them. No structured domsins in this file, but users can change the the file if they wish to demonstrate structured result files.

By default the file read is the domain file prism_domain.1. To run this program with any other file type for which a reader exists

./info.out <reader> <file>

in particular

./info.out ./readexuns.out

will read using the example reader. No file is required for the example reader. Also can run readexuns_c.out or readexuns_ftn.out.


Function Documentation

int main ( int argc,
char ** argv )
 

This example demonstrates how an application can use the result library to create a structured mesh then write out a domain file with results.

Any other manipulations allowed by the result library are of course allowed.


Generated at Wed Mar 2 11:16:26 2005 for Result Library by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000