A phase response data source for an unstructured grid model. More...
Public Member Functions | |
DataSourcePhaseResponse (int id, const DataSourceCae *sourceDataSource, int frequencyStateId, size_t numSteps) | |
Create a phase response data source. More... | |
bool | build () |
Build the data source by linearly combining states of the source UnstructGridModel. More... | |
![]() | |
DataSourceMemory (int dataSourceId, size_t geometryCountPerState) | |
Constructs a memory data source. More... | |
size_t | geometryCountPerState () const |
Returns number of geometries per state. More... | |
bool | updateDerivedResult (ResultType resultType, int id) |
Updates the derived result. More... | |
bool | updateAllDerivedResults () |
Updates all derived results. More... | |
void | addState (DataState *state) |
Adds a new state to the data source. More... | |
void | removeAllStates () |
Removes all states in the data source. More... | |
void | updateDirectoryFromStates () |
Populates the directory with dummy data. More... | |
![]() | |
int | id () const |
Returns the id of the data source. More... | |
size_t | stateCount () const |
Returns number of states for the data source. More... | |
size_t | stateIndex (int stateId) const |
Returns the index of the state with id stateId. More... | |
size_t | geometryCountPerState () const |
Returns the number of geometries (per state) in the Datasource. More... | |
const DataState * | state (size_t stateIndex) const |
Returns the state at the given state index. More... | |
DataState * | state (size_t stateIndex) |
Returns the state at the given state index. More... | |
const DataState * | currentState (const UnstructGridModel *model) const |
Returns the current state (the state in the current frame) in the given model. More... | |
DataState * | currentState (const UnstructGridModel *model) |
Returns the current state (the state in the current frame) in the given model. More... | |
const DataSourceDirectory * | directory () const |
Returns the data directory of the data source. More... | |
DataSourceDirectory * | directory () |
Returns the data directory of the data source. More... | |
const DataElementSet * | elementSet (size_t setIndex) const |
Returns a const ptr to the element set at the given index. More... | |
DataElementSet * | elementSet (size_t setIndex) |
Returns the element set at the given index. More... | |
size_t | elementSetCount () const |
Returns the number of DataElementSets in this data source. More... | |
size_t | elementSetIndex (int setId) const |
Returns the index of the element set with the given id. More... | |
void | addElementSet (DataElementSet *elementSet) |
Adds an element set to this data source. More... | |
void | removeElementSet (const DataElementSet *elementSet) |
Removes an element set from this data source. More... | |
void | removeAllElementSets () |
Removes all element sets from the data source. More... | |
bool | isDataSourceValid (Str *failReason) const |
Validates that the data source contents matches the metadata. More... | |
int | defaultDispacementResultId () const |
Returns the current state (the state in the current frame) in the given model. More... | |
bool | computeCustomResults (int stateId, const DataStateSpec &stateSpec) |
Computes custom results. More... | |
![]() | |
void | addRef () const |
Increments the reference count for this object. More... | |
void | release () const |
Decrements the reference count for this object. More... | |
int | refCount () const |
Returns the reference count for this object. More... | |
void | setRefCountZero () const |
Sets the ref count to zero, but DOES NOT delete the object. More... | |
A phase response data source for an unstructured grid model.
cee::imp::cae::DataSourcePhaseResponse::DataSourcePhaseResponse | ( | int | id, |
const DataSourceCae * | sourceDataSource, | ||
int | frequencyStateId, | ||
size_t | numSteps | ||
) |
Create a phase response data source.
Specify a unique id for the merged data source.
bool cee::imp::cae::DataSourcePhaseResponse::build | ( | ) |
Build the data source by linearly combining states of the source UnstructGridModel.