GEOS
|
Functions | |
template<typename OUTTYPE > | |
int | DB_TYPE () |
template<typename TYPE > | |
int | GetNumberOfVariablesInField () |
template<typename TYPE > | |
int | GetTensorRank () |
template<typename OUTTYPE , typename TYPE > | |
OUTTYPE | CastField (const TYPE &field, int const i=0) |
template<> | |
real64 | CastField (R1Tensor const &field, int const i) |
Specialization for R1Tensor. More... | |
template<> | |
int | CastField< int, int > (const int &field, int const dummy) |
template<> | |
long int | CastField< long int, long int > (const long int &field, int const dummy) |
template<> | |
int | CastField< int, long int > (const long int &field, int const dummy) |
template<> | |
long long int | CastField< long long int, long long int > (const long long int &field, int const dummy) |
template<> | |
int | CastField< int, long long int > (const long long int &field, int const dummy) |
template<> | |
real64 | CastField< real64, real64 > (const real64 &field, int const dummy) |
template<> | |
float | CastField< float, real64 > (const real64 &field, int const dummy) |
template<typename TYPE > | |
void | SetVariableNames (string const &fieldName, string_array &varnamestring, char const *varnames[]) |
Namespace to hold some utilities needed by the functions in SiloFile.
OUTTYPE geos::siloFileUtilities::CastField | ( | const TYPE & | field, |
int const | i = 0 |
||
) |
OUTTYPE | the type to cast to |
TYPE | the type to cast from |
field | the value to cast |
i | the component of the varaible to cast, assuming there is dimensionaliy to the variable |
Specialization for R1Tensor.
field | the value to cast |
i | the component of the variable to cast |
Definition at line 794 of file SiloFile.hpp.
|
inline |
dummy
parameter introduced to remove warning field | the value to cast |
dummy | unused parameter |
Definition at line 884 of file SiloFile.hpp.
|
inline |
dummy
parameter introduced to remove warning field | the value to cast |
dummy | unused parameter |
Definition at line 806 of file SiloFile.hpp.
|
inline |
dummy
parameter introduced to remove warning field | the value to cast |
dummy | unused parameter |
Definition at line 832 of file SiloFile.hpp.
|
inline |
dummy
parameter introduced to remove warning field | the value to cast |
dummy | unused parameter |
Definition at line 858 of file SiloFile.hpp.
|
inline |
dummy
parameter introduced to remove warning field | the value to cast |
dummy | unused parameter |
Definition at line 819 of file SiloFile.hpp.
|
inline |
dummy
parameter introduced to remove warning field | the value to cast |
dummy | unused parameter |
Definition at line 845 of file SiloFile.hpp.
|
inline |
dummy
parameter introduced to remove warning field | the value to cast |
dummy | unused parameter |
Definition at line 871 of file SiloFile.hpp.
int geos::siloFileUtilities::DB_TYPE | ( | ) |
OUTTYPE | the type of data to write out (int,float,real64) |
This templated function is a "specialization only" definition. There is no general definition, only specializations for predetermined data types.
int geos::siloFileUtilities::GetNumberOfVariablesInField | ( | ) |
TYPE | the data type in question |
int geos::siloFileUtilities::GetTensorRank | ( | ) |
TYPE | the data type in question |
void geos::siloFileUtilities::SetVariableNames | ( | string const & | fieldName, |
string_array & | varnamestring, | ||
char const * | varnames[] | ||
) |
the | type of the field |
fieldName | the name of the field |
varnamestring | an array of strings that hold the generated names |
varnames | a pointer to each of the strings that hold the generated names |
This function sets variable names for a field. In some cases, this will just fill varnamestring with the input variable, and in other cases such as in the case of a tensor, the names will have a suffix with the component of the tensor.