FEDEM Solver  R8.0
Source code of the dynamics solver
FFpReadResults.H
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2023 SAP SE
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 // This file is part of FEDEM - https://openfedem.org
7 
8 #ifndef FFP_READ_RESULTS_H
9 #define FFP_READ_RESULTS_H
10 
11 #include <vector>
12 #include <string>
13 
14 class FFrExtractor;
15 
16 typedef std::vector< std::vector<double> > DoubleVectors;
17 
18 
19 struct FFpVar
20 {
21  std::string name;
22  std::string type;
23  std::string oper;
24  FFpVar(const char* n = NULL, const char* t = NULL, const char* o = NULL);
25 };
26 
27 
28 namespace FFp
29 {
30  bool readHistories(const char* objType,
31  const std::vector<int>& baseIds,
32  const std::vector<FFpVar>& vars,
33  FFrExtractor* extractor,
34  double& Tmin, double& Tmax, bool includeTime,
35  DoubleVectors& values, std::string& message);
36 }
37 
38 #endif
std::vector< std::vector< double > > DoubleVectors
Definition: FFpReadResults.H:14
Front-end for the result extraction module.
Definition: FFrExtractor.H:44
Definition: FFpReadResults.H:29
bool readHistories(const char *objType, const std::vector< int > &baseIds, const std::vector< FFpVar > &vars, FFrExtractor *extractor, double &Tmin, double &Tmax, bool includeTime, DoubleVectors &values, std::string &message)
Definition: FFpReadResults.C:22
Definition: FFpReadResults.H:20
std::string type
Definition: FFpReadResults.H:22
std::string oper
Definition: FFpReadResults.H:23
std::string name
Definition: FFpReadResults.H:21
FFpVar(const char *n=NULL, const char *t=NULL, const char *o=NULL)
Definition: FFpReadResults.C:14