FileDataStore command: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
(Created page with '{{CommandManualMenu}} This command is used to construct the FE_Datastore object. {| | style="background:yellow; color:black; width:800px" | '''database $type $dbName''' |} --...')
 
No edit summary
 
Line 10: Line 10:


{|
{|
|  style="width:150px" | '''$ndm ''' || spatial dimension of problem (1,2, or 3)
|  style="width:150px" | '''$type ''' || database type:
|-
'''$type ''' || number of degrees of freedom at node (optional)
|-
| || database type:
|-
|-
| || '''File''' - outputs database into a file
| || '''File''' - outputs database into a file
Line 21: Line 17:
|-
|-
| || '''BerkeleyDB''' - creates a BerkeleyDB database
| || '''BerkeleyDB''' - creates a BerkeleyDB database
|-
|  '''$dbName ''' || database name.
|}
|}
----
Note 1: If the database type is File, the command will save the data into a number of files, e.g. $dbName.id11 for all ID objects of size 11 that sendSelf() is invoked upon.
Note 2:The invocation of this command will add the additional commands save and restore to the OpenSees interpreter to allow users to save and restore model states.

Latest revision as of 19:09, 2 March 2011




This command is used to construct the FE_Datastore object.

database $type $dbName

$type database type:
File - outputs database into a file
MySQL - creates a SQL database
BerkeleyDB - creates a BerkeleyDB database
$dbName database name.

Note 1: If the database type is File, the command will save the data into a number of files, e.g. $dbName.id11 for all ID objects of size 11 that sendSelf() is invoked upon.

Note 2:The invocation of this command will add the additional commands save and restore to the OpenSees interpreter to allow users to save and restore model states.