Personal tools

Difference between revisions of "Blocks"

From MohidWiki

Jump to: navigation, search
m (1 revision)
(Related links)
 
Line 24: Line 24:
  
 
== Related links ==
 
== Related links ==
*[http://www.mohid.com/IHS Mohid Keywords Online DataBase]
+
*[http://wiki.mohid.com/index.php?title=Keyword_list MOHID keyword Database]
 
*[[Keywords]]
 
*[[Keywords]]
 
*[[New_Keyword]]
 
*[[New_Keyword]]

Latest revision as of 13:54, 3 October 2019

Overview

Another way of defining options in a MOHID input data file is, as referred above, by using information blocks. These blocks are normally used so that advanced options can be defined through the combination of groups of keywords.

Block definition

Structure of a block

Each block of information is delimited by a begin block tag and an end block tag, each written in a different line. The begin block and end block tags are normally written between the following symbols < and > (e.g. <beginproperty> and “<endproperty>”).







Reading procedure

Reading procedure of a block

The reading procedure is similar to the keywords, but this time the 2 tags must be successfully found in order to define a block, identifying the line numbers where the block begins and ends. This allows a regular keyword search algorithm to work only between the 2 tags. A block can also be defined inside another block, therefore creating a hierarchical structure, in where up to three levels are allowed.

Related links