Personal tools

Difference between revisions of "Module GlobalData"

From MohidWiki

Jump to: navigation, search
 
m (1 revision)
 
(No difference)

Latest revision as of 10:27, 3 December 2008

Overview

Module GlobalData, is responsible for global variables such as properties names and ID numbers, error types ID, constants and parameters, classes registration numbers and some derived types used frequently in other classes (e.g. type T_Size, a derived type containing the matrixes bounds).

This is mainly static information needed and used equally by all classes. Some methods are also provided by this class, mainly related to checking properties names spelling and attributing ID numbers. It also handles error and used keywords logging and I/O units.

Sub-routines

Internal names

  • CheckPropertyName
  • GetPropertyName
  • GetPropertyIDNumber
  • Check_Particulate_Property
  • TranslateTypeZUV

I/O management

  • UnitsManager

Errors and logs management

  • SetError
  • WriteErrorMessage
  • LogKeyWord

Start/End management

  • StartupMohid
  • ShutdownMohid

Object oriented management routines

  • RegisterNewInstance
  • AssociateInstance
  • DeassociateInstance
  • RegisterModule
  • ModuleIsRegistered
  • Read_Lock
  • Read_Unlock
  • VerifyReadLock