Representation of all the results and their components read from a res file.
More...
#include <result.h>
Representation of all the results and their components read from a res file.
◆ Result()
Result::Result |
( |
gzFile |
file, |
|
|
dataFields |
fields, |
|
|
int |
componentCount |
|
) |
| |
- Parameters
-
file | res gzFile |
fields | Base fields read from the file |
componentCount | Number of component to seek into the result data |
◆ getAnalysis()
std::string Result::getAnalysis |
( |
| ) |
|
- Returns
- The type of analysis of the result
◆ getComponentCount()
int Result::getComponentCount |
( |
| ) |
const |
- Returns
- The number component of the result (1 or 4)
◆ getComponents()
std::vector< std::string > Result::getComponents |
( |
| ) |
|
- Returns
- The components of the result (X, Y, Z, M)
◆ getResult()
std::tuple< int &, float * > Result::getResult |
( |
const unsigned int & |
id | ) |
|
- Parameters
-
- Returns
- Return information about the result
◆ getResultType()
std::string Result::getResultType |
( |
| ) |
|
- Returns
- The type of result
◆ getStep()
float Result::getStep |
( |
| ) |
const |
- Returns
- Step of the result
◆ getValuesCount()
unsigned int Result::getValuesCount |
( |
| ) |
const |
- Returns
- The number of values of the result
◆ readComponents()
void Result::readComponents |
( |
gzFile |
file, |
|
|
char |
buffer[GZ_BUFFER_SIZE], |
|
|
dataFields |
fields |
|
) |
| |
|
private |
Write the result into a currently open PostResultFile.
- Returns
- The state of the GiD Post Result closure Read the result components from the mesh file
- Parameters
-
file | File that contains the result and meshes information |
buffer | The zlib reading buffer from previous gzread |
fields | Base fields read from the file |
◆ readResults()
void Result::readResults |
( |
gzFile |
file, |
|
|
char |
buffer[GZ_BUFFER_SIZE] |
|
) |
| |
|
private |
Read the results values from the res file
- Parameters
-
file | File that contains the result information |
buffer | Thz zlib reading buffer from previous gzread |
◆ analysis
std::string Result::analysis |
|
private |
◆ componentCount
int Result::componentCount |
|
private |
Number of components of the result.
◆ components
std::vector<std::string> Result::components |
|
private |
Components of the result (size = componentCount)
◆ nodeIDs
List of IDs of the nodes involved in the result.
◆ result
std::string Result::result |
|
private |
◆ step
Time step inside the analysis.
◆ values
◆ valuesCount
unsigned int Result::valuesCount |
|
private |
The documentation for this class was generated from the following files: