36 #ifndef NEKTAR_SOLVERUTILS_SESSIONFUNCTION_H 37 #define NEKTAR_SOLVERUTILS_SESSIONFUNCTION_H 67 std::string functionName,
68 bool toCache =
false);
74 const int domain = 0);
78 std::vector<std::string> pFieldNames,
81 const int domain = 0);
85 std::vector<std::string> pFieldNames,
88 const int domain = 0);
94 const int domain = 0);
98 const int domain = 0);
130 const int domain = 0);
136 const int domain = 0);
142 const int domain = 0);
145 const int goal)
const bool m_toCache
Store resulting arrays (and interpolators)
std::map< std::pair< std::string, int >, NekDouble > m_lastCached
Last time the cache for this variable & domain combo was updated.
int PrintProgressbar(const int position, const int goal, const std::string message, int lastprogress=-1)
Prints a progressbar.
std::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
SOLVER_UTILS_EXPORT void PrintProgressbar(const int position, const int goal) const
LibUtilities::SessionReaderSharedPtr m_session
The session reader.
std::map< std::pair< std::string, int >, Array< OneD, NekDouble > > m_arrays
Cached result arrays.
SOLVER_UTILS_EXPORT const LibUtilities::SessionReaderSharedPtr & GetSession()
#define SOLVER_UTILS_EXPORT
std::map< std::string, FieldUtils::Interpolator > m_interpolators
Interpolator for pts file input for a variable & domain combination.
std::shared_ptr< SessionFunction > SessionFunctionSharedPtr
static SessionFunctionSharedPtr NullSessionFunction
MultiRegions::ExpListSharedPtr m_field
The expansion we want to evaluate this function for.
SOLVER_UTILS_EXPORT const MultiRegions::ExpListSharedPtr & GetExpansion()
std::shared_ptr< SessionReader > SessionReaderSharedPtr