Skip to main content
Define a set of entities by ids. #include <dpf_api.h> Inheritance diagram for ansys::dpf::Scoping:

Public Member Functions

Public Member Functions inherited from ansys::dpf::DpfTypes

Static Public Member Functions

Detailed Description

Define a set of entities by ids. The scoping is entities ids representing a subset of the model’s support. Typically, scoping can represent node ids, element ids, time steps, frequencies, joints… Its location indicates what kind of entity the scoping is referring to. Scopings are used to identify the entities where a field is scoped or to choose (through an input pin) a subset on which an operator should compute its result. Examples CompleteRST.cpp, DataApis.cpp, DataExport.cpp, ModelTest.cpp, OperatorsApis.cpp, and ResultTest.cpp.

Constructor & Destructor Documentation

Scoping() [1/5]

Create a new scoping.

Scoping() [2/5]

Create a scoping of ids at a location. Parameters

Scoping() [3/5]

Create a scoping of ids at a location. Parameters

Scoping() [4/5]

Create a new scoping on a server. Parameters

Scoping() [5/5]

Retrieve an existing instance of Scoping on a server.
Parameters

Member Function Documentation

at()

Returns Id at index offset into vector of ids.

deep_copy()

Create a new Scoping on a server by copying all the data of this Scoping. Parameters

emplace()

Set offset index into scoping to new id. Parameters Examples DataApis.cpp.

emptyScoping()

static Create an empty scoping. Returns Empty Scoping

getIds()

Update ids_to_fill with scoping ids. Parameters Examples DataApis.cpp.

idByIndex()

Returns Id at index offset into vector of ids. Parameters Examples DataApis.cpp.

identicalPointers()

Compare scoping with input scoping f. Parameters

ids() [1/2]

Returns DpfVector of ids array.

ids() [2/2]

Returns Pointer to list of ids. Parameters Examples DataApis.cpp.

indexById()

Returns Index of id within vector of ids. -1 if id not found. Parameters Examples DataApis.cpp.

location()

Returns Location of ids. Examples DataApis.cpp, ModelTest.cpp, and ResultTest.cpp.

reserve()

Reserve the container of ids.

resize()

Resize the container of ids.

setIds() [1/2]

Update scoping to list of new ids. Parameters

setIds() [2/2]

Update scoping to vector of new ids. Parameters Examples DataApis.cpp, and DataExport.cpp.

setLocation()

Set location of scoping. Parameters Examples DataApis.cpp.

size()

Returns Number of entries in scoping. Examples DataApis.cpp, DataExport.cpp, and ModelTest.cpp.