    

 ## On this page

  

 

 # Structure Class Reference

 Last update: 16.07.2025 

The central data structure for SoS. [More...](class_structure.xhtml#details)

## <a name="pub-types"></a>Public Types

<a id="af1f48e88583ff2b3c8e9cbee8fe321d9"></a>typedef std::pair&lt; string, string &gt; [StringPair](class_structure.xhtml#af1f48e88583ff2b3c8e9cbee8fe321d9) a string pair   
 <a id="aca37157dd2b73f5141fdb38839c745f4"></a>typedef std::list&lt; StructureListener \*&gt; [StructureListenerList](class_structure.xhtml#aca37157dd2b73f5141fdb38839c745f4) A list of StructureListener pointers.   
 ## <a name="pub-methods"></a>Public Member Functions

bool [operator==](class_structure.xhtml#a687797736425e164c1616fc8ae1e0cb7) ([Structure](class_structure.xhtml) other) Create database

Methods handling database life time



<a id="ae224653d7e7bed9803683d26feb9c229"></a> [Structure](class_structure.xhtml#ae224653d7e7bed9803683d26feb9c229) () default constructor   
 Meta-Information

destructor

Methods to access some meta information



std::size\_t [savestateChanged](class_structure.xhtml#a640cd0203cd23ee06cbd4c846981b807) () std::size\_t [savestateChangedRef](class_structure.xhtml#a551dcabd1730647aad7a368e2a420233) () string [savestateLastFileNameSDB](class_structure.xhtml#afce8e6d1889892dd0de13c54bac9a142) () string [savestateLastFileNameSDBRef](class_structure.xhtml#a08fab5bdb23ae23682fae06ec57ae31b) () Access Properties

Methods to access and even modify properties



string [name](class_structure.xhtml#aa62b508d2c0e7d9cec12924965276eb5) ()  [setName](class_structure.xhtml#a7c9792eea32f072154ec499971724e6b) (string s) Reference mesh

Methods to access and modify the reference mesh



 [setReferenceNodeSet](class_structure.xhtml#a7cce7c08f1ecc313964262e0c36f92cf) (string part\_ident, string set\_ident)  [setReferenceElementSet](class_structure.xhtml#ae229cd36df0b88d8664b5610a4914b61) (string part\_ident, string set\_ident)  [setFixedNodeSet](class_structure.xhtml#a6db44425ec79b30e8232ad0dfb12c420) (string part\_ident, string set\_ident)  [addNodeSet](class_structure.xhtml#acbdc063586a537a6a0674657a66ab4bf) (NodeSet component)  [addElementSet](class_structure.xhtml#a32c878b8aa4f4bd861fc8abd22c47460) (ElementSet component)  [eraseNodeSet](class_structure.xhtml#a2200ccf6d94308e2f00604fdb94cb6b6) (string part\_ident, string set\_ident)  [eraseElementSet](class_structure.xhtml#a327d1eb2517b389eded26bcbba714052) (string part\_ident, string set\_ident) [MeshAssembly](class_mesh_assembly.xhtml) [referenceMesh](class_structure.xhtml#a14866d7d7c94a58a40feb11ea84ddd3d) () [MetaStructure](class_meta_structure.xhtml) [metaReferenceMesh](class_structure.xhtml#a1fe1038dd3d5676fdd925d782660b6f9) () [Structure::StringPair](class_structure.xhtml#af1f48e88583ff2b3c8e9cbee8fe321d9) [elementSet](class_structure.xhtml#a05183ea6650ff80fd5dc6627757edc17) () [Structure::StringPair](class_structure.xhtml#af1f48e88583ff2b3c8e9cbee8fe321d9) [nodeSet](class_structure.xhtml#a90cd03169fb19cb5393c62c7ae256738) () [Structure::StringPair](class_structure.xhtml#af1f48e88583ff2b3c8e9cbee8fe321d9) [fixedNodeSet](class_structure.xhtml#a2346ff050370fc42330befe90b204881) () [IndexMapper](class_index_mapper.xhtml) [indexMapper](class_structure.xhtml#a9334483d3e2b199c338f536400b8781a) () [IndexMapper](class_index_mapper.xhtml) [totalIndexMapper](class_structure.xhtml#a37cf9e5fade1fa81097196d3e420b7e7) () [IndexMapper](class_index_mapper.xhtml) [totalBoundaryIndexMapper](class_structure.xhtml#a6e18d2f06d75efefead861e51b09c0db) () [IndexMapper](class_index_mapper.xhtml) [freeIndexMapper](class_structure.xhtml#a65cd85ce26173b1cd412e309f0c1e254) () toolbox::projection::DistanceField [distanceField](class_structure.xhtml#a735b2dad01c330b86943fb8249a91a35) () bool [hasDistanceField](class_structure.xhtml#a917333e1c10c2aff3fbd87fb3afbfdf4) ()  [clearDistanceField](class_structure.xhtml#a957e9f5bda65d5f0edfd77739b268310) ()  [setDistanceField](class_structure.xhtml#a76ad5d565f098a5bd7e5944af529937d) (toolbox::projection::DistanceField distancefield) Data Access

Methods to query and modify (insert, erase) data objects



[DataObjectContainer](class_data_object_container.xhtml) [data](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f) ()  [nodeData](class_structure.xhtml#a539f561c03982da57200d2ed47807d74) () This method has been removed, it always produces an ERROR message. Use [data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).filterType(sos.NODE\_DATA) to get a [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") containing all node data objects. ([data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f):filterType(sos.NODE\_DATA) in Lua) [More...](#a539f561c03982da57200d2ed47807d74)  
  [elementData](class_structure.xhtml#ae5a367f5f54310b57d68222455e61e26) () This method has been removed, it always produces an ERROR message. Use [data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).filterType(sos.ELEMENT\_DATA) to get a [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") containing all node data objects. ([data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f):filterType(sos.ELEMENT\_DATA) in Lua) [More...](#ae5a367f5f54310b57d68222455e61e26)  
  [scalarData](class_structure.xhtml#a1980386a4a5b849d9d25ee3bf3720409) () This method has been removed, it always produces an ERROR message. Use [data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).filterType(sos.SCALAR\_DATA) to get a [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") containing all node data objects. ([data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f):filterType(sos.SCALAR\_DATA) in Lua) [More...](#a1980386a4a5b849d9d25ee3bf3720409)  
  [insertData](class_structure.xhtml#a32c26394cd7cb00813908212334b0e0b) ([DataObjectContainer](class_data_object_container.xhtml) [data](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f)) [RandomFieldContainer](class_random_field_container.xhtml) [randomFieldData](class_structure.xhtml#a67329cec0fed19d1ef1a6f50bc5e6929) () [RandomFieldContainer](class_random_field_container.xhtml) [randomFieldDataRef](class_structure.xhtml#a0bb443bbd5e47b7358de0f91d0f2e736) () [FMOPContainer](class_f_m_o_p_container.xhtml) [FMOPData](class_structure.xhtml#a1f7b026195b76ecedfeaa533c8c00b08) () [FMOPContainer](class_f_m_o_p_container.xhtml) [FMOPDataRef](class_structure.xhtml#a9fd0efb70b36003dba785ad55a9800db) () ::[MOPContainer](class_m_o_p_container.xhtml) [MOPData](class_structure.xhtml#ad23d8369495f02229a271f1bf576e3bd) () ::[MOPContainer](class_m_o_p_container.xhtml) [MOPDataRef](class_structure.xhtml#a0ff5bd7f65b37866c95d0e53b5505b10) () <a id="a0569063eeba5df709f25dd5f8d8904a4"></a>::handler::ScalarMOPContainer **ScalarMOPData** () ::handler::ScalarMOPContainer [ScalarMOPDataRef](class_structure.xhtml#a094003838d6ca1fdbdaf03b4fcae4960) () macro::MacroManager [macroManager](class_structure.xhtml#afd1d6c44b994e917c31de1599a766957) () macro::MacroManager [macroManagerRef](class_structure.xhtml#ad48ea10b5fc3439cf6294799aedc7ce7) () ::core::ValueTypeManager [valueTypeManager](class_structure.xhtml#aa41ed5d01cdffe61b9f937f9c0581463) () ::core::ValueTypeManager [valueTypeManagerRef](class_structure.xhtml#ae61515364e22378218485eb35f62f026) () bool [isAcademicStructure](class_structure.xhtml#a1db6bbee3142a13d2b61fb3d310750f8) () <a id="aa821bec12eaa7e0f649397c9675ff505"></a> [clear](class_structure.xhtml#aa821bec12eaa7e0f649397c9675ff505) () Clears all data contained in this database. This includes the reference mesh, all (Field-)MOPs, random fields and all DataObjects contained in the [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ").   
 <a id="aeff6433c4ccf813ff4fc142b282b8765"></a> [clearData](class_structure.xhtml#aeff6433c4ccf813ff4fc142b282b8765) () Clears all data, except for the reference mesh and named selections, contained in this database. This includes the reference mesh, all (Field-)MOPs, random fields and all DataObjects contained in the [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ").   
 Operations

Miscellaneous methods



 [deactivateErodedDesigns](class_structure.xhtml#aeda7f5a1f5f89bd17046dc959c06a579) (number max\_allowed=0) std::size\_t [deactivateIncompleteDesigns](class_structure.xhtml#a0bc8808b99560925f5fab5d7ce9b7447) ()  [setCoordinates](class_structure.xhtml#a78df8d6138ceca808b158b803876d02c) ([Matrix](class_matrix.xhtml) [coordinates](class_structure.xhtml#a871c6455ca8b4eda2a410994de4b2c90)) [Matrix](class_matrix.xhtml) [coordinates](class_structure.xhtml#a871c6455ca8b4eda2a410994de4b2c90) ()  [copyReferenceMesh](class_structure.xhtml#af11e128ae2bd8efcfb1e88f7d6eace30) ([Structure](class_structure.xhtml) dest) Copies the reference mesh (and active node and element sets) to the target. [More...](#af11e128ae2bd8efcfb1e88f7d6eace30)  
 string [saveAsString](class_structure.xhtml#adffe8f50cbbdb689d373b93400bd9e46) () Serialize the database and save it in a string instead on disk. [More...](#adffe8f50cbbdb689d373b93400bd9e46)  
  [loadFromString](class_structure.xhtml#aedff057a4490dbf85d0c6d739948be17) (string state) Load a serialization of the database from a string. [More...](#aedff057a4490dbf85d0c6d739948be17)  
 <a id="a97248f6ff1cba3b47dbbadce116a525a"></a> **loadFromString** (string state, std::shared\_ptr&lt;::data\_handler::CustomModelDeserializer &gt; deserializer) <a id="details" name="details"></a>## Detailed Description

The central data structure for SoS.

This class stores all data required to process and post-process Statistics on Structures.

[Structure](class_structure.xhtml "The central data structure for SoS. ") is a Listener. It implements callback functions listening to changes at [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") instances.

See also[insertData](class_structure.xhtml#a32c26394cd7cb00813908212334b0e0b) eraseData ...Data displayed in the user interface is stored in an unique instance of [Structure](class_structure.xhtml "The central data structure for SoS. "). Access this unique instance:

```
database = sos.database()
```

Data stored:

- Reference mesh ([referenceMesh()](class_structure.xhtml#a14866d7d7c94a58a40feb11ea84ddd3d))
- Field and scalar data ([nodeData()](class_structure.xhtml#a539f561c03982da57200d2ed47807d74 "This method has been removed, it always produces an ERROR message. Use data().filterType(sos.NODE_DATA) to get a DataObjectContainer containing all node data objects. (data():filterType(sos.NODE_DATA) in Lua) "), [elementData()](class_structure.xhtml#ae5a367f5f54310b57d68222455e61e26 "This method has been removed, it always produces an ERROR message. Use data().filterType(sos.ELEMENT_DATA) to get a DataObjectContainer containing all node data objects. (data():filterType(sos.ELEMENT_DATA) in Lua) "), [scalarData()](class_structure.xhtml#a1980386a4a5b849d9d25ee3bf3720409 "This method has been removed, it always produces an ERROR message. Use data().filterType(sos.SCALAR_DATA) to get a DataObjectContainer containing all node data objects. (data():filterType(sos.SCALAR_DATA) in Lua) "))
- Field-MOPs ([FMOPData()](class_structure.xhtml#a1f7b026195b76ecedfeaa533c8c00b08))
- Random fields ([RandomFieldData()](class_random_field_data.xhtml "contains random field data for analysis and simulation for a single random field. ..."))
- Macros (chunkManager())

The object returned by [scalarData()](class_structure.xhtml#a1980386a4a5b849d9d25ee3bf3720409 "This method has been removed, it always produces an ERROR message. Use data().filterType(sos.SCALAR_DATA) to get a DataObjectContainer containing all node data objects. (data():filterType(sos.SCALAR_DATA) in Lua) ") is a [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. "). [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") provides read access to all DataObjects contained in the filter. [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") provides database write access, allowing the insertion of a DataObject.

Each DataObject contained in a [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") is uniquely identified by a [DataObjectKey](class_data_object_key.xhtml "the key (ident) of a data object in generic containers. "). A [DataObjectKey](class_data_object_key.xhtml "the key (ident) of a data object in generic containers. ") consists of a quantity identifier and a design identifier.

NoteThe same syntax applies to all data types: node, element and scalar data.\[Scalar/Node/Element\]DataObject read access script examples.Access specific DataObject.

```
key = sos.DataObjectKey("1", "yield_stress")
dataObject1 = sos.database().scalarData().find(key)
dataObject2 = sos.database().scalarData().find("2","yield_stress")
value = dataObject1.getData()[0]
```

NoteIndividual DataObjects, as returned by the find() method, are a lightweight class (C++ pointer). No (field) data is copied when assigning DataObjects.Using filters. Every filter method returns another filter, for an easy combination of filters.

```
filterAllSamples = sos.database().scalarData().samples()
dataObjects = filterAllSamples.generateVector()
dataObject1 = dataObjects[0]
<p>filterYieldStress = filterAllSamples.filterQuantity("yield_*", true) #true: match regular expression
designs = filterYieldStress.designs() #a vector of design identifiers</p>
<p>filterResponses = sos.database().nodeData().filterQuantity("thickness").responses()
filterCoPs = filterResponses.filterDesign("<em>CoP</em>", true) #true: match regular expression
</p>
```

\[Scalar/Node/Element\]DataObject write access script examples. Not exhaustive, also see DataObjectContainer.```
dataObject = sos.createScalarDataObject(6.626e-34)
key = sos.DataObjectKey("1", "quantum")
sos.database().scalarData().insert(key, dataObject)
<p>sos.database().scalarData().erase(key)</p>
<p>sos.database().scalarData().eraseQuantity("quantum")</p>
<p>sos.database().scalarData().eraseDesign("1")
</p>
```

Access Field-MOP (also see FMOPContainer, FMOPGroup)```
fmop = sos.database().FMOPData().findFMOP("thickness",sos.ELEMENT_DATA)
inputSensitivites = fmop.inputCoP() #vector of input sensitivities (CoPs)<br></br>
inputs = fmop.inputIdentsVector()
```

Access Random Field (also see RandomFieldContainer, RandomFieldGroup)```
rf = sos.database().RandomFieldContainer().findGroup("thickness", sos.ELEMENT_DATA)
totalExplainedVariation = rf.getVariationTotal()
amplitudeIdentifier1 = rf.amplitudeIdent(0)
```

Access/Create/Load Macros (also see MacroManager)```
\note Currently only Lua macros are supported.
<p>print(sos.database().macroManager().size()) #empty by default, stores user created macros
functionEvaluateFieldMOP = sos.defaultMacroManager().get("elementApproxFieldMOP")
print(functionEvaluateFieldMOP.getMacro())</p>
<p>myFunction = sos.MacroFunction()
myFunction.setIdent("helloWorld")
myFunction.setShortName("print 'Hello world!'")
myFunction.setMacro("print('Hello world!')")
sos.database().MacroManager().add(myFunction)</p>
<p>sos.loadMacros()
sos_macros.helloWorld() #prints 'Hello world!'</p>
```



## Member Function Documentation

<a id="a32c878b8aa4f4bd861fc8abd22c47460"></a>## [◆ ](#a32c878b8aa4f4bd861fc8abd22c47460)addElementSet()

 addElementSet  ( ElementSet  *component*) 





<a id="acbdc063586a537a6a0674657a66ab4bf"></a>## [◆ ](#acbdc063586a537a6a0674657a66ab4bf)addNodeSet()

 addNodeSet  ( NodeSet  *component*) 





<a id="a957e9f5bda65d5f0edfd77739b268310"></a>## [◆ ](#a957e9f5bda65d5f0edfd77739b268310)clearDistanceField()

 clearDistanceField  ( ) 





<a id="a871c6455ca8b4eda2a410994de4b2c90"></a>## [◆ ](#a871c6455ca8b4eda2a410994de4b2c90)coordinates()

 [Matrix](class_matrix.xhtml) coordinates  ( ) 





<a id="af11e128ae2bd8efcfb1e88f7d6eace30"></a>## [◆ ](#af11e128ae2bd8efcfb1e88f7d6eace30)copyReferenceMesh()

 copyReferenceMesh  ( [Structure](class_structure.xhtml)  *dest*) 

Copies the reference mesh (and active node and element sets) to the target.

Parameters destthe destination database. 



<a id="acd4d4636ea16ac9c2be36d94e2ebc28f"></a>## [◆ ](#acd4d4636ea16ac9c2be36d94e2ebc28f)data()

 [DataObjectContainer](class_data_object_container.xhtml) data  ( ) 





<a id="aeda7f5a1f5f89bd17046dc959c06a579"></a>## [◆ ](#aeda7f5a1f5f89bd17046dc959c06a579)deactivateErodedDesigns()

 deactivateErodedDesigns  ( number  *max\_allowed* = `0`) 





<a id="a0bc8808b99560925f5fab5d7ce9b7447"></a>## [◆ ](#a0bc8808b99560925f5fab5d7ce9b7447)deactivateIncompleteDesigns()

 std::size\_t deactivateIncompleteDesigns  ( ) 





<a id="a735b2dad01c330b86943fb8249a91a35"></a>## [◆ ](#a735b2dad01c330b86943fb8249a91a35)distanceField()

 toolbox::projection::DistanceField distanceField  ( ) 





<a id="ae5a367f5f54310b57d68222455e61e26"></a>## [◆ ](#ae5a367f5f54310b57d68222455e61e26)elementData()

 elementData  ( ) 

This method has been removed, it always produces an ERROR message. Use [data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).filterType(sos.ELEMENT\_DATA) to get a [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") containing all node data objects. ([data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f):filterType(sos.ELEMENT\_DATA) in Lua)

WarningAlways use sos.database().[data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).insert() and sos.database().[data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).erase() to add and remove DataObject/DataObjectContainer to the central database [Structure](class_structure.xhtml "The central data structure for SoS. "). Otherwise, DataObjects are not saved in any .sdb file and do not show up in the GUI. 



<a id="a05183ea6650ff80fd5dc6627757edc17"></a>## [◆ ](#a05183ea6650ff80fd5dc6627757edc17)elementSet()

 [Structure::StringPair](class_structure.xhtml#af1f48e88583ff2b3c8e9cbee8fe321d9) elementSet  ( ) 





<a id="a327d1eb2517b389eded26bcbba714052"></a>## [◆ ](#a327d1eb2517b389eded26bcbba714052)eraseElementSet()

 eraseElementSet  ( string  *part\_ident*,    string  *set\_ident*   ) 





<a id="a2200ccf6d94308e2f00604fdb94cb6b6"></a>## [◆ ](#a2200ccf6d94308e2f00604fdb94cb6b6)eraseNodeSet()

 eraseNodeSet  ( string  *part\_ident*,    string  *set\_ident*   ) 





<a id="a2346ff050370fc42330befe90b204881"></a>## [◆ ](#a2346ff050370fc42330befe90b204881)fixedNodeSet()

 [Structure::StringPair](class_structure.xhtml#af1f48e88583ff2b3c8e9cbee8fe321d9) fixedNodeSet  ( ) 





<a id="a1f7b026195b76ecedfeaa533c8c00b08"></a>## [◆ ](#a1f7b026195b76ecedfeaa533c8c00b08)FMOPData()

 [FMOPContainer](class_f_m_o_p_container.xhtml) FMOPData  ( ) 





<a id="a9fd0efb70b36003dba785ad55a9800db"></a>## [◆ ](#a9fd0efb70b36003dba785ad55a9800db)FMOPDataRef()

 [FMOPContainer](class_f_m_o_p_container.xhtml) FMOPDataRef  ( ) 





<a id="a65cd85ce26173b1cd412e309f0c1e254"></a>## [◆ ](#a65cd85ce26173b1cd412e309f0c1e254)freeIndexMapper()

 [IndexMapper](class_index_mapper.xhtml) freeIndexMapper  ( ) 





<a id="a917333e1c10c2aff3fbd87fb3afbfdf4"></a>## [◆ ](#a917333e1c10c2aff3fbd87fb3afbfdf4)hasDistanceField()

 bool hasDistanceField  ( ) 





<a id="a9334483d3e2b199c338f536400b8781a"></a>## [◆ ](#a9334483d3e2b199c338f536400b8781a)indexMapper()

 [IndexMapper](class_index_mapper.xhtml) indexMapper  ( ) 





<a id="a32c26394cd7cb00813908212334b0e0b"></a>## [◆ ](#a32c26394cd7cb00813908212334b0e0b)insertData()

 insertData  ( [DataObjectContainer](class_data_object_container.xhtml)  *data*) 





<a id="a1db6bbee3142a13d2b61fb3d310750f8"></a>## [◆ ](#a1db6bbee3142a13d2b61fb3d310750f8)isAcademicStructure()

 bool isAcademicStructure  ( ) 





<a id="aedff057a4490dbf85d0c6d739948be17"></a>## [◆ ](#aedff057a4490dbf85d0c6d739948be17)loadFromString()

 loadFromString  ( string  *state*) 

Load a serialization of the database from a string.

Parameters stateThe string to serialize from 



<a id="afd1d6c44b994e917c31de1599a766957"></a>## [◆ ](#afd1d6c44b994e917c31de1599a766957)macroManager()

 macro::MacroManager macroManager  ( ) 





<a id="ad48ea10b5fc3439cf6294799aedc7ce7"></a>## [◆ ](#ad48ea10b5fc3439cf6294799aedc7ce7)macroManagerRef()

 macro::MacroManager macroManagerRef  ( ) 





<a id="a1fe1038dd3d5676fdd925d782660b6f9"></a>## [◆ ](#a1fe1038dd3d5676fdd925d782660b6f9)metaReferenceMesh()

 [MetaStructure](class_meta_structure.xhtml) metaReferenceMesh  ( ) 





<a id="ad23d8369495f02229a271f1bf576e3bd"></a>## [◆ ](#ad23d8369495f02229a271f1bf576e3bd)MOPData()

 ::[MOPContainer](class_m_o_p_container.xhtml) MOPData  ( ) 





<a id="a0ff5bd7f65b37866c95d0e53b5505b10"></a>## [◆ ](#a0ff5bd7f65b37866c95d0e53b5505b10)MOPDataRef()

 ::[MOPContainer](class_m_o_p_container.xhtml) MOPDataRef  ( ) 





<a id="aa62b508d2c0e7d9cec12924965276eb5"></a>## [◆ ](#aa62b508d2c0e7d9cec12924965276eb5)name()

 string name  ( ) 





<a id="a539f561c03982da57200d2ed47807d74"></a>## [◆ ](#a539f561c03982da57200d2ed47807d74)nodeData()

 nodeData  ( ) 

This method has been removed, it always produces an ERROR message. Use [data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).filterType(sos.NODE\_DATA) to get a [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") containing all node data objects. ([data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f):filterType(sos.NODE\_DATA) in Lua)

WarningAlways use sos.database().[data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).insert() and sos.database().[data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).erase() to add and remove DataObject/DataObjectContainer to the central database [Structure](class_structure.xhtml "The central data structure for SoS. "). Otherwise, DataObjects are not saved in any .sdb file and do not show up in the GUI. 



<a id="a90cd03169fb19cb5393c62c7ae256738"></a>## [◆ ](#a90cd03169fb19cb5393c62c7ae256738)nodeSet()

 [Structure::StringPair](class_structure.xhtml#af1f48e88583ff2b3c8e9cbee8fe321d9) nodeSet  ( ) 





<a id="a687797736425e164c1616fc8ae1e0cb7"></a>## [◆ ](#a687797736425e164c1616fc8ae1e0cb7)operator==()

 bool operator==  ( [Structure](class_structure.xhtml)  *other*) 

Primarily used to test the serialization

Parameters otherthe object to be compared Returnstrue if both objects have the same contents 



<a id="a67329cec0fed19d1ef1a6f50bc5e6929"></a>## [◆ ](#a67329cec0fed19d1ef1a6f50bc5e6929)randomFieldData()

 [RandomFieldContainer](class_random_field_container.xhtml) randomFieldData  ( ) 





<a id="a0bb443bbd5e47b7358de0f91d0f2e736"></a>## [◆ ](#a0bb443bbd5e47b7358de0f91d0f2e736)randomFieldDataRef()

 [RandomFieldContainer](class_random_field_container.xhtml) randomFieldDataRef  ( ) 





<a id="a14866d7d7c94a58a40feb11ea84ddd3d"></a>## [◆ ](#a14866d7d7c94a58a40feb11ea84ddd3d)referenceMesh()

 [MeshAssembly](class_mesh_assembly.xhtml) referenceMesh  ( ) 





<a id="adffe8f50cbbdb689d373b93400bd9e46"></a>## [◆ ](#adffe8f50cbbdb689d373b93400bd9e46)saveAsString()

 string saveAsString  ( ) 

Serialize the database and save it in a string instead on disk.

ReturnsThe string 



<a id="a640cd0203cd23ee06cbd4c846981b807"></a>## [◆ ](#a640cd0203cd23ee06cbd4c846981b807)savestateChanged()

 std::size\_t savestateChanged  ( ) 

ReturnsA const-reference to Pimpl::m\_savestate\_changed 



<a id="a551dcabd1730647aad7a368e2a420233"></a>## [◆ ](#a551dcabd1730647aad7a368e2a420233)savestateChangedRef()

 std::size\_t savestateChangedRef  ( ) 

ReturnsA reference to Pimpl::m\_savestate\_changed 



<a id="afce8e6d1889892dd0de13c54bac9a142"></a>## [◆ ](#afce8e6d1889892dd0de13c54bac9a142)savestateLastFileNameSDB()

 string savestateLastFileNameSDB  ( ) 

Returnsa reference to m\_savestate\_last\_file\_name\_sdb 



<a id="a08fab5bdb23ae23682fae06ec57ae31b"></a>## [◆ ](#a08fab5bdb23ae23682fae06ec57ae31b)savestateLastFileNameSDBRef()

 string savestateLastFileNameSDBRef  ( ) 

Returnsa non- reference to m\_savestate\_last\_file\_name\_sdb 



<a id="a1980386a4a5b849d9d25ee3bf3720409"></a>## [◆ ](#a1980386a4a5b849d9d25ee3bf3720409)scalarData()

 scalarData  ( ) 

This method has been removed, it always produces an ERROR message. Use [data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).filterType(sos.SCALAR\_DATA) to get a [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") containing all node data objects. ([data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f):filterType(sos.SCALAR\_DATA) in Lua)

WarningAlways use sos.database().[data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).insert() and sos.database().[data()](class_structure.xhtml#acd4d4636ea16ac9c2be36d94e2ebc28f).erase() to add and remove DataObject/DataObjectContainer to the central database [Structure](class_structure.xhtml "The central data structure for SoS. "). Otherwise, DataObjects are not saved in any .sdb file and do not show up in the GUI. 



<a id="a094003838d6ca1fdbdaf03b4fcae4960"></a>## [◆ ](#a094003838d6ca1fdbdaf03b4fcae4960)ScalarMOPDataRef()

 ::handler::ScalarMOPContainer ScalarMOPDataRef  ( ) 





<a id="a78df8d6138ceca808b158b803876d02c"></a>## [◆ ](#a78df8d6138ceca808b158b803876d02c)setCoordinates()

 setCoordinates  ( [Matrix](class_matrix.xhtml)  *coordinates*) 





<a id="a76ad5d565f098a5bd7e5944af529937d"></a>## [◆ ](#a76ad5d565f098a5bd7e5944af529937d)setDistanceField()

 setDistanceField  ( toolbox::projection::DistanceField  *distancefield*) 





<a id="a6db44425ec79b30e8232ad0dfb12c420"></a>## [◆ ](#a6db44425ec79b30e8232ad0dfb12c420)setFixedNodeSet()

 setFixedNodeSet  ( string  *part\_ident*,    string  *set\_ident*   ) 





<a id="a7c9792eea32f072154ec499971724e6b"></a>## [◆ ](#a7c9792eea32f072154ec499971724e6b)setName()

 setName  ( string  *s*) 





<a id="ae229cd36df0b88d8664b5610a4914b61"></a>## [◆ ](#ae229cd36df0b88d8664b5610a4914b61)setReferenceElementSet()

 setReferenceElementSet  ( string  *part\_ident*,    string  *set\_ident*   ) 





<a id="a7cce7c08f1ecc313964262e0c36f92cf"></a>## [◆ ](#a7cce7c08f1ecc313964262e0c36f92cf)setReferenceNodeSet()

 setReferenceNodeSet  ( string  *part\_ident*,    string  *set\_ident*   ) 





<a id="a6e18d2f06d75efefead861e51b09c0db"></a>## [◆ ](#a6e18d2f06d75efefead861e51b09c0db)totalBoundaryIndexMapper()

 [IndexMapper](class_index_mapper.xhtml) totalBoundaryIndexMapper  ( ) 





<a id="a37cf9e5fade1fa81097196d3e420b7e7"></a>## [◆ ](#a37cf9e5fade1fa81097196d3e420b7e7)totalIndexMapper()

 [IndexMapper](class_index_mapper.xhtml) totalIndexMapper  ( ) 





<a id="aa41ed5d01cdffe61b9f937f9c0581463"></a>## [◆ ](#aa41ed5d01cdffe61b9f937f9c0581463)valueTypeManager()

 ::core::ValueTypeManager valueTypeManager  ( ) 





<a id="ae61515364e22378218485eb35f62f026"></a>## [◆ ](#ae61515364e22378218485eb35f62f026)valueTypeManagerRef()

 ::core::ValueTypeManager valueTypeManagerRef  ( )