    

 ## On this page

  

 

 # ansys::dpf::MeshesContainer Class Reference

 Last update: 16.07.2025 

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::MeshesContainer:

 ![](/sites/default/files/migrate-content/dpf_cpp_client_library_2023_r2/classansys_1_1dpf_1_1MeshesContainer.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

<a id="ab5d10a6e0af1de794c5dd5ff5274a56c" name="ab5d10a6e0af1de794c5dd5ff5274a56c"></a> **MeshesContainer** ([MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) const &amp;) <a id="a07cd0c6f7379c8d545a8499b4a3d48f1" name="a07cd0c6f7379c8d545a8499b4a3d48f1"></a> **MeshesContainer** ([MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) &amp;&amp;)  [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml#aa4c802341a32f409bface24c08750256) ([Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml#a0ac20f2c12dfe98d977cb6bb5c7a85fa) ([Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client, std::vector&lt; std::string &gt; const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml))  [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml#abb7d8aa6a81104550acd750be0341d52) (int [id](classansys_1_1dpf_1_1MeshesContainer.xhtml#a159bc5c920f6c6d4f21ff9781f754dc4), [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml#ad5852e1110c3ac20a9e139a68a54bff4) (std::vector&lt; std::string &gt; const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) <a id="afe5811d03325be342ac58977d37ab0d0" name="afe5811d03325be342ac58977d37ab0d0"></a>[MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) &amp; **operator=** ([MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) const &amp;) <a id="abefc27147ede18a65b1a2da39f5eb1d3" name="abefc27147ede18a65b1a2da39f5eb1d3"></a>[MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) &amp; **operator=** ([MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) &amp;&amp;) [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) [operator\[\]](classansys_1_1dpf_1_1MeshesContainer.xhtml#a7a7b3e5a05bbd093a14531d846c0557a) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) index) [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1MeshesContainer.xhtml#a2d09b5ff92bd2fd987b0daef82e76a71) () const [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) [at](classansys_1_1dpf_1_1MeshesContainer.xhtml#aa5faa82275582751a35b9f8f7fa52532) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) [at](classansys_1_1dpf_1_1MeshesContainer.xhtml#ab45cbc57a611d133effd85a07026ccf8) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const void [update](classansys_1_1dpf_1_1MeshesContainer.xhtml#ad9bf573f6faf5c3d6a69509acebfd029) ([MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) &amp;f, [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) void [reserve](classansys_1_1dpf_1_1MeshesContainer.xhtml#af5a4d00b7ce6812da5a4254635268f2b) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1MeshesContainer.xhtml#a2d09b5ff92bd2fd987b0daef82e76a71)) void [resize](classansys_1_1dpf_1_1MeshesContainer.xhtml#a16a8a1d9f25bff56fe3eca7a5562141e) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1MeshesContainer.xhtml#a2d09b5ff92bd2fd987b0daef82e76a71)) void [addLabel](classansys_1_1dpf_1_1MeshesContainer.xhtml#accb22573919ebf09b4e599bba818b7e5) (std::string const &amp;label) void [addLabel](classansys_1_1dpf_1_1MeshesContainer.xhtml#aacfef9deec4a83cf420c6399d8c61789) (std::string const &amp;label, [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) default\_value) void [addLabels](classansys_1_1dpf_1_1MeshesContainer.xhtml#a2b01810fc0ef287fe79b298a933bd8fe) (std::vector&lt; std::string &gt; const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) void [add](classansys_1_1dpf_1_1MeshesContainer.xhtml#aff23c8528d5364caf5a959d252576c94) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml), [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) const &amp;f) [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [getSizeFor](classansys_1_1dpf_1_1MeshesContainer.xhtml#a1f6be743776364207db456aabe4d31f3) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;label\_space) const std::vector&lt; [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) &gt; [getMeshes](classansys_1_1dpf_1_1MeshesContainer.xhtml#a2be495164acdc7891bc8efa173d6ad60) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;label\_space) const [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) [getMesh](classansys_1_1dpf_1_1MeshesContainer.xhtml#a9b94613788b1ced87b9a1ad5b94dcefd) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;label\_space) const std::vector&lt; std::string &gt; [labels](classansys_1_1dpf_1_1MeshesContainer.xhtml#a83654d6eacf8a3737194f012bdbdd891) () const [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) [getLabelSpace](classansys_1_1dpf_1_1MeshesContainer.xhtml#ac09045c8f12ab15823ca60d162d8eb4c) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const bool [hasLabel](classansys_1_1dpf_1_1MeshesContainer.xhtml#ab0486489b33f815094d96c4c86939a1d) (std::string const &amp;label) const @ return Indication that given label exists within mesh container. [More...](classansys_1_1dpf_1_1MeshesContainer.xhtml#ab0486489b33f815094d96c4c86939a1d)  
 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [labelScoping](classansys_1_1dpf_1_1MeshesContainer.xhtml#abaa083562e73104406689bbf9287e435) (std::string const &amp;label) const <a id="afe73c105be73ed4fe598145f852552fe" name="afe73c105be73ed4fe598145f852552fe"></a>[MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) **createSubMeshesContainer** ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;lab\_space) const create a [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) with all the meshes corresponding to the label space in input   
 std::string [name](classansys_1_1dpf_1_1MeshesContainer.xhtml#aeae4264585e5e8f825ad2e293227d7d7) () const void [setName](classansys_1_1dpf_1_1MeshesContainer.xhtml#afd8667d63749d72b91cf5bf98494ad9f) (std::string [name](classansys_1_1dpf_1_1MeshesContainer.xhtml#aeae4264585e5e8f825ad2e293227d7d7)) <a id="a159bc5c920f6c6d4f21ff9781f754dc4" name="a159bc5c920f6c6d4f21ff9781f754dc4"></a>[dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) **id** () const @ return Id of mesh container.   
 void [setId](classansys_1_1dpf_1_1MeshesContainer.xhtml#aea226fbf960e4fe52f9639af37929798) ([dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) [id](classansys_1_1dpf_1_1MeshesContainer.xhtml#a159bc5c920f6c6d4f21ff9781f754dc4)) [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) [deep\_copy](classansys_1_1dpf_1_1MeshesContainer.xhtml#a4d6dc89fa32881ff246e53fc919f6d57) ([ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client=nullptr) const ![-](/sites/default/files/migrate-content/dpf_cpp_client_library_2023_r2/closed.png) Public Member Functions inherited from [ansys::dpf::DpfTypes](classansys_1_1dpf_1_1DpfTypes.xhtml)virtual bool [empty](classansys_1_1dpf_1_1DpfTypes.xhtml#a39cd546c42518e2332be8f287db95459) () const virtual std::string [describe](classansys_1_1dpf_1_1DpfTypes.xhtml#a9977945710983bc03d2940fa007847b2) () const so::API const \* [callAPI](classansys_1_1dpf_1_1DpfTypes.xhtml#aea34d37e0c080126eff70db34bf46597) () const bool [isOnCommonAPI](classansys_1_1dpf_1_1DpfTypes.xhtml#a9f9789ff61cc9d400a2a344830706b73) () const bool [getClient](classansys_1_1dpf_1_1DpfTypes.xhtml#a968afd9daa0b0f13b65a2ac61369d73a) ([Client](classansys_1_1dpf_1_1Client.xhtml) &amp;client) const bool [hasBeenMovedLocally](classansys_1_1dpf_1_1DpfTypes.xhtml#a1a5634202c15404b6b24e8f50e51cb66) () const bool [isSameObject](classansys_1_1dpf_1_1DpfTypes.xhtml#aa64d5f8fcd7d85ad6ebf708494dbefd7) ([DpfTypes](classansys_1_1dpf_1_1DpfTypes.xhtml) const &amp;rhs) const ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

static [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) [emptyMeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml#a5adfd625ae0bbadf1ac7b46caed156cf) () <a id="details" name="details"></a>## Detailed Description

Contains a group of meshes.

The meshes container is designed as a set of meshes ordered through labels and ids. Labels identify how the fields are filtered. The most common meshes container have the label "body" with ids corresponding to each body entity.

See also[MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml "Holds the mesh for a given region (body, faces, skin, ...)") [Using collections and labels](group__group__12.xhtml) Examples[DataExport.cpp](DataExport_8cpp-example.xhtml#_a4).

## Constructor &amp; Destructor Documentation

<a id="aa4c802341a32f409bface24c08750256" name="aa4c802341a32f409bface24c08750256"></a>## [◆ ](#aa4c802341a32f409bface24c08750256)MeshesContainer() \[1/4\]

 ansys::dpf::MeshesContainer::MeshesContainer  ( [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*) 

Create a new meshes container on a server.

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="a0ac20f2c12dfe98d977cb6bb5c7a85fa" name="a0ac20f2c12dfe98d977cb6bb5c7a85fa"></a>## [◆ ](#a0ac20f2c12dfe98d977cb6bb5c7a85fa)MeshesContainer() \[2/4\]

 ansys::dpf::MeshesContainer::MeshesContainer  ( [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*,    std::vector&lt; std::string &gt; const &amp;  *labels*   ) 

Create a collection of meshes with the given labels on a server.

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. \[in\]labelsLabels for meshes. 



<a id="abb7d8aa6a81104550acd750be0341d52" name="abb7d8aa6a81104550acd750be0341d52"></a>## [◆ ](#abb7d8aa6a81104550acd750be0341d52)MeshesContainer() \[3/4\]

 ansys::dpf::MeshesContainer::MeshesContainer  ( int  *id*,    [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*   ) 

Retrieve an existing instance of [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) on a server.

Parameters \[in\]idId of the [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) object on the server's database. \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="ad5852e1110c3ac20a9e139a68a54bff4" name="ad5852e1110c3ac20a9e139a68a54bff4"></a>## [◆ ](#ad5852e1110c3ac20a9e139a68a54bff4)MeshesContainer() \[4/4\]

 ansys::dpf::MeshesContainer::MeshesContainer  ( std::vector&lt; std::string &gt; const &amp;  *labels*) 

Create mesh container for a group of meshed regions with the given labels.

Parameters \[in\]labelsLabels for group of meshed regions. 



## Member Function Documentation

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

 void ansys::dpf::MeshesContainer::add  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *labels*,    [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) const &amp;  *f*   ) 

Add meshed region with given label space.

Parameters \[in\]labels[Label](structansys_1_1dpf_1_1Label.xhtml) space for meshed region. \[in\]fMeshed region to add. Examples[DataExport.cpp](DataExport_8cpp-example.xhtml#a35).



<a id="accb22573919ebf09b4e599bba818b7e5" name="accb22573919ebf09b4e599bba818b7e5"></a>## [◆ ](#accb22573919ebf09b4e599bba818b7e5)addLabel() \[1/2\]

 void ansys::dpf::MeshesContainer::addLabel  ( std::string const &amp;  *label*) 

Add label for new mesh group in mesh container.

Parameters \[in\]labelNew group label. Examples[DataExport.cpp](DataExport_8cpp-example.xhtml#a34).



<a id="aacfef9deec4a83cf420c6399d8c61789" name="aacfef9deec4a83cf420c6399d8c61789"></a>## [◆ ](#aacfef9deec4a83cf420c6399d8c61789)addLabel() \[2/2\]

 void ansys::dpf::MeshesContainer::addLabel  ( std::string const &amp;  *label*,    [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e)  *default\_value*   ) 

Add label with value for new mesh group in mesh container.

Parameters \[in\]labelNew group label. \[in\]default\_valueValue for label. 



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

 void ansys::dpf::MeshesContainer::addLabels  ( std::vector&lt; std::string &gt; const &amp;  *labels*) 

Add list of labels for new mesh groups in mesh container.

Parameters \[in\]labelsNew groups labels. 



<a id="aa5faa82275582751a35b9f8f7fa52532" name="aa5faa82275582751a35b9f8f7fa52532"></a>## [◆ ](#aa5faa82275582751a35b9f8f7fa52532)at() \[1/2\]

 [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) ansys::dpf::MeshesContainer::at  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*) 

ReturnsMeshed region for given index. Parameters \[in\]indexIndex of meshed region to get. 



<a id="ab45cbc57a611d133effd85a07026ccf8" name="ab45cbc57a611d133effd85a07026ccf8"></a>## [◆ ](#ab45cbc57a611d133effd85a07026ccf8)at() \[2/2\]

 const [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) ansys::dpf::MeshesContainer::at  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*)  const

ReturnsMeshed region for given index. Parameters \[in\]indexIndex of meshed region to get. 



<a id="a4d6dc89fa32881ff246e53fc919f6d57" name="a4d6dc89fa32881ff246e53fc919f6d57"></a>## [◆ ](#a4d6dc89fa32881ff246e53fc919f6d57)deep\_copy()

 [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) ansys::dpf::MeshesContainer::deep\_copy  ( [ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client* = `nullptr`)  const

Create a new [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) on a server by copying all the data of this [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml).

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



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

 static [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml) ansys::dpf::MeshesContainer::emptyMeshesContainer  ( )   static 

Create an empty mesh container.

ReturnsEmpty mesh container. 



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

 [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) ansys::dpf::MeshesContainer::getLabelSpace  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*)  const

Returns[LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) for given index in mesh container. Parameters \[in\]indexIndex of meshes container for which to get label space. 



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

 [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) ansys::dpf::MeshesContainer::getMesh  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *label\_space*)  const

ReturnsFirst meshed region for given label space. Parameters \[in\]label\_space[Label](structansys_1_1dpf_1_1Label.xhtml) space for which to get meshed region. 



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

 std::vector&lt; [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) &gt; ansys::dpf::MeshesContainer::getMeshes  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *label\_space*)  const

ReturnsVector of meshed regions for given label space. Parameters \[in\]label\_space[Label](structansys_1_1dpf_1_1Label.xhtml) space for which to get meshed regions. 



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

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::MeshesContainer::getSizeFor  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *label\_space*)  const

ReturnsNumber of meshed regions for given label space. Parameters \[in\]label\_space[Label](structansys_1_1dpf_1_1Label.xhtml) space for which to get number of meshed regions. 



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

 bool ansys::dpf::MeshesContainer::hasLabel  ( std::string const &amp;  *label*)  const

@ return Indication that given label exists within mesh container.

Parameters \[in\]label[Label](structansys_1_1dpf_1_1Label.xhtml) for which to check existence. 



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

 std::vector&lt; std::string &gt; ansys::dpf::MeshesContainer::labels  ( )  const

ReturnsVector of labels for mesh container. 



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

 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::MeshesContainer::labelScoping  ( std::string const &amp;  *label*)  const

Returnsa scoping of the available ids in the meshes container for a given label Parameters \[in\]labelName of label. 



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

 std::string ansys::dpf::MeshesContainer::name  ( )  const

ReturnsName of mesh container. 



<a id="a7a7b3e5a05bbd093a14531d846c0557a" name="a7a7b3e5a05bbd093a14531d846c0557a"></a>## [◆ ](#a7a7b3e5a05bbd093a14531d846c0557a)operator\[\]()

 [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) ansys::dpf::MeshesContainer::operator\[\]  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *index*) 

ReturnsMeshed region for given index. Parameters \[in\]indexIndex of mesh within container. 



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

 void ansys::dpf::MeshesContainer::reserve  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *size*) 

Reserve space for given number of meshed regions.

Parameters \[in\]sizeExpected number of meshed regions. 



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

 void ansys::dpf::MeshesContainer::resize  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *size*) 

Resize meshes container to given number of meshed regions.

Parameters \[in\]sizeNumber of meshed regions in container. 



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

 void ansys::dpf::MeshesContainer::setId  ( [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e)  *id*) 

Set Id of mesh container.

Parameters \[in\]idId for mesh container. 



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

 void ansys::dpf::MeshesContainer::setName  ( std::string  *name*) 

Set name of mesh container.

Parameters \[in\]nameName of mesh container. 



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

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::MeshesContainer::size  ( )  const

ReturnsNumber of meshed regions in container. 



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

 void ansys::dpf::MeshesContainer::update  ( [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) &amp;  *f*,    [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*   ) 

Update a meshed region at index.

Parameters \[in\]fNew meshed region. \[in\]indexIndex of meshed region to update.