    

 ## On this page

  

 

 # ModelTest

 Last update: 16.07.2025 

Examples showing how to load and use an RST file.

//

// COPYRIGHT ANSYS. ALL RIGHTS RESERVED.

//

\#ifdef EXAMPLE

\#include "Example.h"

\#else

\#include &lt;gtest/gtest.h&gt;

\#endif

 

\#include "helpers/dpf\_model.h"

\#define \_USE\_MATH\_DEFINES

\#include &lt;math.h&gt;

 

TEST(Model, readMetaData)

{

 std::string fileName("../../../testfiles/mapdl\_files/TwoSolids.rst");

 <a id="_a0" name="_a0"></a>[ansys::dpf::Model](classansys_1_1dpf_1_1Model.xhtml) model(fileName);

 

 <a id="_a1" name="_a1"></a>[ansys::dpf::MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) mesh = model.<a id="a2" name="a2"></a>[getMesh](classansys_1_1dpf_1_1Model.xhtml#a48c91a341bc268e48fe4efd1e8c8cb0f)();

 

 auto numEle = mesh.<a id="a3" name="a3"></a>[numberOfElements](classansys_1_1dpf_1_1MeshedRegion.xhtml#ac3a262bc236fda82374a462d7c9e240c)();

 EXPECT_TRUE(numEle == 165);

 auto numNodes = mesh.<a id="a4" name="a4"></a>[numberOfNodes](classansys_1_1dpf_1_1MeshedRegion.xhtml#af8ad6b50708b2c201a457c5da8e819da)();

 EXPECT_TRUE(numNodes == 344);

 

 <a id="_a5" name="_a5"></a>[ansys::dpf::Field](classansys_1_1dpf_1_1Field.xhtml) fieldCoord = mesh.<a id="a6" name="a6"></a>[nodesCoordinates](classansys_1_1dpf_1_1MeshedRegion.xhtml#a482ae171f257bfe86c8e567f0882caa4)();

 EXPECT_EQ(fieldCoord.<a id="a7" name="a7"></a>[dataSize](classansys_1_1dpf_1_1Field.xhtml#a9bb7ac154ee6720cbb98b1c09e056942)(), 344 * 3);

 <a id="_a8" name="_a8"></a>[ansys::dpf::PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml) elementsConnectivity = mesh.<a id="a9" name="a9"></a>[connectivity](classansys_1_1dpf_1_1MeshedRegion.xhtml#a2c75723ffc634c39b081eecd31d54309)();

 EXPECT_EQ(elementsConnectivity.<a id="a10" name="a10"></a>[dataSize](classansys_1_1dpf_1_1PropertyField.xhtml#af0ff358222e067e0c03d588a6b11b04c)(), 1562);

 

 

 <a id="_a11" name="_a11"></a>[ansys::dpf::TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) timeSupport = model.<a id="a12" name="a12"></a>[getTimeFreqSupport](classansys_1_1dpf_1_1Model.xhtml#a431d3eb5237f3b5f9f99631c259c53d2)();

 auto numSets = timeSupport.<a id="a13" name="a13"></a>[numberOfSets](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a87c577de73b5ba2260cf3f940ac43068)();

 EXPECT_TRUE(numSets == 1);

 

 auto vNamedSelections = mesh.<a id="a14" name="a14"></a>[availableNamedSelections](classansys_1_1dpf_1_1MeshedRegion.xhtml#a3b768ab61193b7b1a6359f4ac619d1c4)();

 EXPECT_EQ(vNamedSelections.size(), 1);

}

 

TEST(Model, readResultInfo)

{

 std::string fileName("../../../testfiles/mapdl\_files/TwoSolids.rst");

 [ansys::dpf::Model](classansys_1_1dpf_1_1Model.xhtml) model(fileName);

 

 <a id="_a15" name="_a15"></a>[ansys::dpf::ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) resInfo = model.getResultInfo();

 

 auto numRes = resInfo.<a id="a16" name="a16"></a>[numberOfResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a69427d3a5823aa23acfc59b891fa662a)();

 EXPECT_EQ(numRes, 23);

 

 auto unit = resInfo.<a id="a17" name="a17"></a>[unitSystem](classansys_1_1dpf_1_1ResultInfo.xhtml#a62c992acfa6ffc5b73de0f75f57f7e58)();

 

 [ansys::dpf::ResultInfo::analysis\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742ae) analysisType = resInfo.<a id="a18" name="a18"></a>[analysisType](classansys_1_1dpf_1_1ResultInfo.xhtml#a9cbdb503d903b0a8212cc32a952c1ad2)();

 

 [ansys::dpf::ResultInfo::physics\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfaba) physicsType = resInfo.<a id="a19" name="a19"></a>[physicsType](classansys_1_1dpf_1_1ResultInfo.xhtml#abc776e636cedf999ab85007904f110a9)();

 

 auto availReslts = resInfo.<a id="a20" name="a20"></a>[availableResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a48e23d251d6109166a2a1f681a39c58a)();

 

 int majorVersion, minorVersion;

 int solve_date, solve_time;

 

 resInfo.<a id="a21" name="a21"></a>[solver\_version](classansys_1_1dpf_1_1ResultInfo.xhtml#a0d2b564f1b52afc97ef5be1d4e4661f9)(majorVersion, minorVersion);

 resInfo.<a id="a22" name="a22"></a>[solve\_date\_time](classansys_1_1dpf_1_1ResultInfo.xhtml#a52ed9fdb1a2a92a7ada0fed534c200b5)(solve_date, solve_time);

 auto userName = resInfo.<a id="a23" name="a23"></a>[user\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#ac3786ae43ac33386010794e990a31146)();

 auto productName = resInfo.<a id="a24" name="a24"></a>[product\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#a8b1146409fe3f14fda0b331faf1bf9fe)();

 auto jobName = resInfo.<a id="a25" name="a25"></a>[job\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#ae6ed610647bdabcc9baab02b19462f99)();

 auto mainTitle = resInfo.<a id="a26" name="a26"></a>[main\_title](classansys_1_1dpf_1_1ResultInfo.xhtml#a8071bc87922ee65107a63fc2f1eefd3d)();

 

 EXPECT_EQ(availReslts.size(), 23);

 

 EXPECT_STREQ(unit.c_str(), "solver\_mks");

 EXPECT_EQ(analysisType, <a id="a27" name="a27"></a>[ansys::dpf::ResultInfo::eStatic](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea2ad50e8511b81f014d3275f5ac2d617d));

 EXPECT_EQ(physicsType, <a id="a28" name="a28"></a>[ansys::dpf::ResultInfo::eMecanic](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfabaab1cdf6ed7eb8c9102327076240beb06f));

 

 EXPECT_EQ(majorVersion, 19);

 EXPECT_EQ(minorVersion, 4);

 EXPECT_EQ(solve_date, 20190128);

 EXPECT_EQ(solve_time, 175709);

 

 EXPECT_STREQ(userName.c_str(), "rlagha");

 EXPECT_STREQ(productName.c_str(), "FULL");

 EXPECT_STREQ(jobName.c_str(), "file");

 EXPECT_STREQ(mainTitle.c_str(), "unsaved\_project--Static Structur");

}

 

TEST(Model, readResultInfo_using_unit_strings)

{

 auto resultInfo = [ansys::dpf::ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml)(ansys::dpf::ResultInfo::analysis_type::eStatic, (ansys::dpf::ResultInfo::physics_type::eFluid));

 <a id="_a29" name="_a29"></a>[ansys::dpf::UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) si_cff("CFF\_SI", "m;s;kg;K;m/s;J;MPa;MPa\*m^0.5;C;A;V;H;F;rad");

 resultInfo.setUnitSystem(si_cff);

 

 auto unit_system_name = resultInfo.unitSystemName();

 EXPECT_STREQ(unit_system_name.c_str(), "SI: m, kg, s, V, A, K");

 

 auto unit_system = resultInfo.unitSystem();

 <a id="_a30" name="_a30"></a>[ansys::dpf::Unit](classansys_1_1dpf_1_1Unit.xhtml) unit_temp_diff(<a id="a31" name="a31"></a>[ansys::dpf::homogeneities::temperature\_difference](structansys_1_1dpf_1_1homogeneities.xhtml#ac34f11f1e215920d52e22121ea776054), unit_system);

 EXPECT_STREQ(unit_temp_diff.c_str(), "dK");

}

TEST(Model, accessTimeFreqSupport)

{

 std::string fileName("../../../testfiles/cyclic/file.rst");

 [ansys::dpf::Model](classansys_1_1dpf_1_1Model.xhtml) model(fileName);

 

 [ansys::dpf::TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) timeSupport = model.getTimeFreqSupport();

 auto numSets = timeSupport.[numberOfSets](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a87c577de73b5ba2260cf3f940ac43068)();

 EXPECT_TRUE(numSets == 48);

 

 auto numberSteps = timeSupport.<a id="a32" name="a32"></a>[numberOfSteps](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a6b3cc037c0283450ac0234dadeddd1b6)();

 

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

 

 [ansys::dpf::Field](classansys_1_1dpf_1_1Field.xhtml) freqs = timeSupport.<a id="a33" name="a33"></a>[frequencies](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#aa0cf046a80d328f966892abe85308f01)();

 auto data = freqs.<a id="a34" name="a34"></a>[data](classansys_1_1dpf_1_1Field.xhtml#a0967a8c6cee105a679dd1151a5d41004)(size);

 EXPECT_TRUE(data != nullptr);

 EXPECT_EQ(size, 48);

 

 [ansys::dpf::Field](classansys_1_1dpf_1_1Field.xhtml) hi = timeSupport.<a id="a35" name="a35"></a>[harmonicIndeces](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a101268a027373331f52244f52eb8b0d1)();

 auto hi_data = hi.[data](classansys_1_1dpf_1_1Field.xhtml#a0967a8c6cee105a679dd1151a5d41004)(size);

 EXPECT_TRUE(hi_data != nullptr);

 EXPECT_EQ(size, 48);

 

 for (auto i = 0, offset = 0; i &lt; numberSteps; ++i) {

 auto numSubSteps = timeSupport.<a id="a36" name="a36"></a>[numberOfSubStepsByStepIndex](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a4333cdbfac1c49f802a9c33a18970ed5)(i);

 EXPECT_TRUE(numSubSteps == 6);

 for (auto j = 0; j &lt; numSubSteps; ++j, ++offset) {

 auto iSet = timeSupport.<a id="a37" name="a37"></a>[getSetIndexByStepIndexAndSubStep](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a018ae91fba33d3a61360c659a3fa49c8)(i, j);

 EXPECT_EQ(iSet, i * 6 + j);

 auto freq = timeSupport.<a id="a38" name="a38"></a>[timeFreq](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a15d6bc620aadd070c1bb027a075ce0cd)(iSet); 

 EXPECT_DOUBLE_EQ(freq, data[offset]);

 

 EXPECT_DOUBLE_EQ(i, fabs(hi_data[offset]));

 }

 }

}

 

TEST(Model, readNamedSelections)

{

 std::string fileName("../../../testfiles/mapdl\_files/TwoSolids.rst");

 [ansys::dpf::Model](classansys_1_1dpf_1_1Model.xhtml) model(fileName);

 

 [ansys::dpf::MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) mesh = model.getMesh();

 

 auto vNamedSelections = mesh.[availableNamedSelections](classansys_1_1dpf_1_1MeshedRegion.xhtml#a3b768ab61193b7b1a6359f4ac619d1c4)();

 EXPECT_EQ(vNamedSelections.size(), 1);

 

 EXPECT_STREQ("\_FIXEDSU", vNamedSelections[0].c_str());

 

 <a id="_a39" name="_a39"></a>[ansys::dpf::Scoping](classansys_1_1dpf_1_1Scoping.xhtml) scoping = mesh.<a id="a40" name="a40"></a>[namedSelection](classansys_1_1dpf_1_1MeshedRegion.xhtml#a1f12d06a08e8afe8fe59c0a8d6aee779)(vNamedSelections[0]);

 EXPECT_STREQ("Nodal", scoping.<a id="a41" name="a41"></a>[location](classansys_1_1dpf_1_1Scoping.xhtml#a516b4489a94ff02ecc880f170b8f93a9)().<a id="a42" name="a42"></a>[c\_str](structansys_1_1dpf_1_1Location.xhtml#ad9fab192124627740ffa623b1a0221ea)());

 EXPECT_EQ(scoping.<a id="a43" name="a43"></a>[size](classansys_1_1dpf_1_1Scoping.xhtml#aeae5e27bd752bdf0da3cc2d64fbe118a)(), 30);

}

 

TEST(Model, CreateResultEvaluationWorkflowInclusive)

{

 std::string fileName("../../../testfiles/Cube.rst");

 [ansys::dpf::Model](classansys_1_1dpf_1_1Model.xhtml) model(fileName);

 

 [ansys::dpf::MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) mesh = model.getMesh();

 

 auto numEle = mesh.[numberOfElements](classansys_1_1dpf_1_1MeshedRegion.xhtml#ac3a262bc236fda82374a462d7c9e240c)();

 EXPECT_EQ(numEle, 8);

 auto numNodes = mesh.[numberOfNodes](classansys_1_1dpf_1_1MeshedRegion.xhtml#af8ad6b50708b2c201a457c5da8e819da)();

 EXPECT_EQ(numNodes, 27);

 

 [ansys::dpf::Field](classansys_1_1dpf_1_1Field.xhtml) fieldCoord = mesh.[nodesCoordinates](classansys_1_1dpf_1_1MeshedRegion.xhtml#a482ae171f257bfe86c8e567f0882caa4)();

 EXPECT_EQ(fieldCoord.[dataSize](classansys_1_1dpf_1_1Field.xhtml#a9bb7ac154ee6720cbb98b1c09e056942)(), 27 * 3);

 [ansys::dpf::PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml) elementsConnectivity = mesh.[connectivity](classansys_1_1dpf_1_1MeshedRegion.xhtml#a2c75723ffc634c39b081eecd31d54309)();

 EXPECT_EQ(elementsConnectivity.[dataSize](classansys_1_1dpf_1_1PropertyField.xhtml#af0ff358222e067e0c03d588a6b11b04c)(), 64);

 

 

 [ansys::dpf::TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) timeSupport = model.getTimeFreqSupport();

 auto numSets = timeSupport.[numberOfSets](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a87c577de73b5ba2260cf3f940ac43068)();

 EXPECT_EQ(numSets, 1);

 

 auto vNamedSelections = mesh.[availableNamedSelections](classansys_1_1dpf_1_1MeshedRegion.xhtml#a3b768ab61193b7b1a6359f4ac619d1c4)();

 EXPECT_EQ(vNamedSelections.size(), 3);

 

 [ansys::dpf::ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml) resultInfo = model.getResultInfo();

 auto numRes = resultInfo.[numberOfResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a69427d3a5823aa23acfc59b891fa662a)();

 EXPECT_EQ(numRes, 13);

 

 <a id="_a44" name="_a44"></a>[ansys::dpf::Result](classansys_1_1dpf_1_1Result.xhtml) result = model.CreateResultEvaluationWorkflow("SX", "TOP", <a id="a45" name="a45"></a>[ansys::dpf::locations::elemental](structansys_1_1dpf_1_1locations.xhtml#a3f66169a86ab935fb398b3fdde98bb04), false);

 

 <a id="_a46" name="_a46"></a>[ansys::dpf::DpfError](classansys_1_1dpf_1_1DpfError.xhtml) error;

 <a id="_a47" name="_a47"></a>[ansys::dpf::FieldsContainer](classansys_1_1dpf_1_1FieldsContainer.xhtml) fieldsContainer = result.<a id="a48" name="a48"></a>[EvaluateAtGivenTime](classansys_1_1dpf_1_1Result.xhtml#ac8e07e03eba295dacfe13a100603d5c4)(0.0, error);

 EXPECT_EQ(fieldsContainer.size(), 1);

}

 

TEST(Model, ReleaseHandles)

{

 std::string fileName("../../../testfiles/mapdl\_files/TwoSolids.rst");

 [ansys::dpf::Model](classansys_1_1dpf_1_1Model.xhtml) model(fileName);

 

 [ansys::dpf::MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml) mesh = model.getMesh();

 

 auto numEle = mesh.[numberOfElements](classansys_1_1dpf_1_1MeshedRegion.xhtml#ac3a262bc236fda82374a462d7c9e240c)();

 EXPECT_TRUE(numEle == 165);

 auto numNodes = mesh.[numberOfNodes](classansys_1_1dpf_1_1MeshedRegion.xhtml#af8ad6b50708b2c201a457c5da8e819da)();

 EXPECT_TRUE(numNodes == 344);

 

 // release handles

 model.ReleaseHandles();

 

 // We can then go ahead and continue reading

 [ansys::dpf::TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) timeSupport = model.getTimeFreqSupport();

}

[ansys::dpf::DpfError](classansys_1_1dpf_1_1DpfError.xhtml)

**Definition:** dpf_api_base.h:1127



[ansys::dpf::Field](classansys_1_1dpf_1_1Field.xhtml)

Data for an entity.

**Definition:** dpf_api.h:1028



[ansys::dpf::Field::data](classansys_1_1dpf_1_1Field.xhtml#a0967a8c6cee105a679dd1151a5d41004)

dp_double *const data(int &amp;size) const



[ansys::dpf::Field::dataSize](classansys_1_1dpf_1_1Field.xhtml#a9bb7ac154ee6720cbb98b1c09e056942)

dp_int dataSize() const



[ansys::dpf::FieldsContainer](classansys_1_1dpf_1_1FieldsContainer.xhtml)

Contains a group of fields.

**Definition:** dpf_api.h:1945



[ansys::dpf::MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml)

Holds the mesh for a given region (body, faces, skin, ...)

**Definition:** dpf_api.h:4305



[ansys::dpf::MeshedRegion::namedSelection](classansys_1_1dpf_1_1MeshedRegion.xhtml#a1f12d06a08e8afe8fe59c0a8d6aee779)

Scoping namedSelection(std::string const &amp;name) const



[ansys::dpf::MeshedRegion::connectivity](classansys_1_1dpf_1_1MeshedRegion.xhtml#a2c75723ffc634c39b081eecd31d54309)

PropertyField connectivity() const



[ansys::dpf::MeshedRegion::availableNamedSelections](classansys_1_1dpf_1_1MeshedRegion.xhtml#a3b768ab61193b7b1a6359f4ac619d1c4)

std::vector&lt; std::string &gt; availableNamedSelections() const



[ansys::dpf::MeshedRegion::nodesCoordinates](classansys_1_1dpf_1_1MeshedRegion.xhtml#a482ae171f257bfe86c8e567f0882caa4)

Field nodesCoordinates() const



[ansys::dpf::MeshedRegion::numberOfElements](classansys_1_1dpf_1_1MeshedRegion.xhtml#ac3a262bc236fda82374a462d7c9e240c)

dp_int numberOfElements() const



[ansys::dpf::MeshedRegion::numberOfNodes](classansys_1_1dpf_1_1MeshedRegion.xhtml#af8ad6b50708b2c201a457c5da8e819da)

dp_int numberOfNodes() const



[ansys::dpf::Model](classansys_1_1dpf_1_1Model.xhtml)

**Definition:** dpf_model.h:14



[ansys::dpf::Model::getTimeFreqSupport](classansys_1_1dpf_1_1Model.xhtml#a431d3eb5237f3b5f9f99631c259c53d2)

TimeFreqSupport getTimeFreqSupport()

**Definition:** dpf_model.h:113



[ansys::dpf::Model::getMesh](classansys_1_1dpf_1_1Model.xhtml#a48c91a341bc268e48fe4efd1e8c8cb0f)

MeshedRegion getMesh(int timestep=0)

**Definition:** dpf_model.h:107



[ansys::dpf::PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml)

**Definition:** dpf_api.h:1254



[ansys::dpf::PropertyField::dataSize](classansys_1_1dpf_1_1PropertyField.xhtml#af0ff358222e067e0c03d588a6b11b04c)

dp_int dataSize() const



[ansys::dpf::ResultInfo](classansys_1_1dpf_1_1ResultInfo.xhtml)

**Definition:** dpf_api.h:380



[ansys::dpf::ResultInfo::solver\_version](classansys_1_1dpf_1_1ResultInfo.xhtml#a0d2b564f1b52afc97ef5be1d4e4661f9)

void solver_version(int &amp;major_version, int &amp;minor_version) const



[ansys::dpf::ResultInfo::availableResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a48e23d251d6109166a2a1f681a39c58a)

std::set&lt; std::string &gt; availableResults() const



[ansys::dpf::ResultInfo::physics\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfaba)

physics_type

**Definition:** dpf_api.h:508



[ansys::dpf::ResultInfo::eMecanic](classansys_1_1dpf_1_1ResultInfo.xhtml#a4c9d8d076df7a3899011b1b2195dfabaab1cdf6ed7eb8c9102327076240beb06f)

@ eMecanic

**Definition:** dpf_api.h:510



[ansys::dpf::ResultInfo::solve\_date\_time](classansys_1_1dpf_1_1ResultInfo.xhtml#a52ed9fdb1a2a92a7ada0fed534c200b5)

void solve_date_time(int &amp;solve_date, int &amp;solve_time) const



[ansys::dpf::ResultInfo::unitSystem](classansys_1_1dpf_1_1ResultInfo.xhtml#a62c992acfa6ffc5b73de0f75f57f7e58)

UnitSystem unitSystem() const



[ansys::dpf::ResultInfo::numberOfResults](classansys_1_1dpf_1_1ResultInfo.xhtml#a69427d3a5823aa23acfc59b891fa662a)

dp_int numberOfResults() const



[ansys::dpf::ResultInfo::analysis\_type](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742ae)

analysis_type

**Definition:** dpf_api.h:483



[ansys::dpf::ResultInfo::eStatic](classansys_1_1dpf_1_1ResultInfo.xhtml#a7242b85e3d035f0953356a1146e742aea2ad50e8511b81f014d3275f5ac2d617d)

@ eStatic

**Definition:** dpf_api.h:485



[ansys::dpf::ResultInfo::main\_title](classansys_1_1dpf_1_1ResultInfo.xhtml#a8071bc87922ee65107a63fc2f1eefd3d)

std::string main_title() const



[ansys::dpf::ResultInfo::product\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#a8b1146409fe3f14fda0b331faf1bf9fe)

std::string product_name() const



[ansys::dpf::ResultInfo::analysisType](classansys_1_1dpf_1_1ResultInfo.xhtml#a9cbdb503d903b0a8212cc32a952c1ad2)

analysis_type analysisType() const



[ansys::dpf::ResultInfo::physicsType](classansys_1_1dpf_1_1ResultInfo.xhtml#abc776e636cedf999ab85007904f110a9)

physics_type physicsType() const



[ansys::dpf::ResultInfo::user\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#ac3786ae43ac33386010794e990a31146)

std::string user_name() const



[ansys::dpf::ResultInfo::job\_name](classansys_1_1dpf_1_1ResultInfo.xhtml#ae6ed610647bdabcc9baab02b19462f99)

std::string job_name() const



[ansys::dpf::Result](classansys_1_1dpf_1_1Result.xhtml)

**Definition:** dpf_result.h:11



[ansys::dpf::Result::EvaluateAtGivenTime](classansys_1_1dpf_1_1Result.xhtml#ac8e07e03eba295dacfe13a100603d5c4)

FieldsContainer EvaluateAtGivenTime(double dTime, DpfError &amp;error)

**Definition:** dpf_result.h:63



[ansys::dpf::Scoping](classansys_1_1dpf_1_1Scoping.xhtml)

Define a set of entities by ids.

**Definition:** dpf_api.h:874



[ansys::dpf::Scoping::location](classansys_1_1dpf_1_1Scoping.xhtml#a516b4489a94ff02ecc880f170b8f93a9)

ansys::dpf::Location location() const



[ansys::dpf::Scoping::size](classansys_1_1dpf_1_1Scoping.xhtml#aeae5e27bd752bdf0da3cc2d64fbe118a)

dp_int size() const



[ansys::dpf::TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml)

Define a time/frequency set.

**Definition:** dpf_api.h:4480



[ansys::dpf::TimeFreqSupport::getSetIndexByStepIndexAndSubStep](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a018ae91fba33d3a61360c659a3fa49c8)

dp_int getSetIndexByStepIndexAndSubStep(dp_int step, dp_int sub_step) const



[ansys::dpf::TimeFreqSupport::harmonicIndeces](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a101268a027373331f52244f52eb8b0d1)

Field harmonicIndeces(dp_int stage=0) const



[ansys::dpf::TimeFreqSupport::timeFreq](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a15d6bc620aadd070c1bb027a075ce0cd)

dp_double timeFreq(dp_int cumul_index, dp_int complex_id=0) const



[ansys::dpf::TimeFreqSupport::numberOfSubStepsByStepIndex](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a4333cdbfac1c49f802a9c33a18970ed5)

dp_int numberOfSubStepsByStepIndex(dp_int stepIndex) const



[ansys::dpf::TimeFreqSupport::numberOfSteps](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a6b3cc037c0283450ac0234dadeddd1b6)

dp_int numberOfSteps() const



[ansys::dpf::TimeFreqSupport::numberOfSets](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a87c577de73b5ba2260cf3f940ac43068)

dp_int numberOfSets() const



[ansys::dpf::TimeFreqSupport::frequencies](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#aa0cf046a80d328f966892abe85308f01)

Field frequencies() const



[ansys::dpf::Unit](classansys_1_1dpf_1_1Unit.xhtml)

**Definition:** dpf_api.h:329



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

int dp_int

**Definition:** dpf_api_base.h:52



[ansys::dpf::Location::c\_str](structansys_1_1dpf_1_1Location.xhtml#ad9fab192124627740ffa623b1a0221ea)

const char * c_str() const



[ansys::dpf::UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml)

**Definition:** dpf_api_base.h:437



[ansys::dpf::homogeneities::temperature\_difference](structansys_1_1dpf_1_1homogeneities.xhtml#ac34f11f1e215920d52e22121ea776054)

static const Homogeneity temperature_difference

**Definition:** dpf_api_base.h:425



[ansys::dpf::locations::elemental](structansys_1_1dpf_1_1locations.xhtml#a3f66169a86ab935fb398b3fdde98bb04)

static const Location elemental

**Definition:** dpf_api_base.h:179