Manual
  System Module 
  [install dir]/include/csfl/sys
   


The system module has several necessary basic classes to the library operation, such as: vectors, matrix, string, points, etc. Also make part of the module the base classes for the arrays manipulation of objects and functions, as well as the called "containers". For more information about the classes here presented can be obtained in the tutorials and in the classes reference



- Multi-dimensional Arrays and Containers:

The IObjectArrayOf class allows the creation and the sequential and aleatory manipulation of an array of any type of abstract datum. These arrays have as main characteristic the automatic memory re-allocation in the moment that the maximum size of the previously allocated memory is reached, that means, once created, it automatically expands its size in function of the new elements addition. The IArray and IArray2D classes allow the vectors and matrix manipulation, these are the basic implementation of the numeric Vector and Matrix classes. The IContainer class and its derived, (IContainerGrid, IContainerEquation, etc) represent the containers of the respective objects indicated in the classes names and they are set in the dynamic arrays, implementing search functions of objects (for IDs or binary).


- Strings: The IString class implements all the necessary tools for the strings manipulation (characters array), for the edition and storage of these varied (input/output in the terminal or file).


- Actions: The objective of the IAction class is to allow the user " to glue " (or to amend) its own methods in routines already defined and implemented by the CSFL library. By this way, this class defines objects that implement mechanisms that we can call objects functions defined by the user starting from the iterative looping (i.e. Sequencers) where the action is inserted.


- Geometry: The basic geometric elements manipulation, like the coordinated points, lines and polygons are implemented in the classes: IPoint, IDPoint, IDLine, IDPolygon, IDRect, IPoint and ISize. These classes implement methods that facilitate the manipulation of geometric entities allowing a higher-level abstraction for the elements of the numeric method used for the CFD solution.


- Mathematics: The system module still implements classes like ILinearSystem (complete) and ILinearSystem9D (compacted in nine diagonals) that represent a linear system in the way AoX = B. So, this library can be used in the solution of another numeric problems with the conjugated use of this class and the ISolvers classes (solvers of the linear systems). The IFunction class and its derived implement basic mathematical functions as: exponential, sinusoidal, linear, etc. These functions are used in the "boundary conditions" methods.

 
© SINMEC/EMC/UFSC, 2001. All rights reserved.