dune-fem 2.8.0
|
The Fem Eoc Table writer. More...
#include <dune/fem/misc/femeoctable.hh>
Public Member Functions | |
FemEocTable () | |
~FemEocTable () | |
Static Public Member Functions | |
static FemEocTable & | instance () |
static int | initialize (const std::string &path, const std::string &name, const std::string &descript) |
static int | initialize (const std::string &name, const std::string &descript) |
template<class StrVectorType > | |
static size_t | addEntry (const int tabId, const StrVectorType &descript, size_t size) |
add a vector of new eoc values | |
template<class StrVectorType > | |
static size_t | addEntry (const StrVectorType &descript, size_t size) |
template<class StrVectorType > | |
static size_t | addEntry (const int tabId, const StrVectorType &descript) |
add a vector of new eoc values | |
template<class StrVectorType > | |
static size_t | addEntry (const StrVectorType &descript) |
static size_t | addEntry (const int tabId, const std::string &descript) |
add a single new eoc output | |
static size_t | addEntry (const std::string &descript) |
static size_t | addEntry (const int tabId, const char *descript) |
add a single new eoc output | |
static size_t | addEntry (const char *descript) |
template<class VectorType > | |
static void | setErrors (const int tabId, size_t id, const VectorType &err, int size) |
add a vector of error values for the given id (returned by addEntry) | |
template<class VectorType > | |
static void | setErrors (size_t id, const VectorType &err, int size) |
template<class VectorType > | |
static void | setErrors (const int tabId, size_t id, const VectorType &err) |
add a vector of error values for the given id (returned by addEntry) | |
template<class VectorType > | |
static void | setErrors (size_t id, const VectorType &err) |
template<int SIZE> | |
static void | setErrors (const int tabId, size_t id, const FieldVector< double, SIZE > &err) |
add a vector in a FieldVector of error values for the given id (returned by addEntry) | |
template<int SIZE> | |
static void | setErrors (size_t id, const FieldVector< double, SIZE > &err) |
static void | setErrors (const int tabId, size_t id, const double &err) |
add a single error value for the given id (returned by addEntry) | |
static void | setErrors (size_t id, const double &err) |
static void | write (const int tabId, std::vector< double > &vals, std::vector< std::string > &descriptions, std::string delimiter=" ", std::string terminatingChar="", std::string header="", std::string tableSpacer="", std::string footer="") |
commit a line to the eoc file | |
static void | write (std::vector< double > &vals, std::vector< std::string > &descriptions, std::string delimiter=" ", std::string terminatingChar="", std::string header="", std::string tableSpacer="", std::string footer="") |
template<class EocCalculatorType > | |
static void | write (const int tabId, std::vector< double > &vals, std::vector< std::string > &descriptions, std::string delimiter=" ", std::string terminatingChar="", std::string header="", std::string tableSpacer="", std::string footer="") |
commit a line to the eoc file, using EocCalculatorType to calculate the eoc. | |
template<class EocCalculatorType > | |
static void | write (std::vector< double > &vals, std::vector< std::string > &descriptions, std::string delimiter=" ", std::string terminatingChar="", std::string header="", std::string tableSpacer="", std::string footer="") |
static void | write (const int tabId, std::vector< double > &vals, std::vector< std::string > &descriptions, std::ostream &out, std::string delimiter=" ", std::string terminatingChar="", std::string header="", std::string tableSpacer="", std::string footer="") |
commit a line to the eoc file | |
static void | write (std::vector< double > &vals, std::vector< std::string > &descriptions, std::ostream &out, std::string delimiter=" ", std::string terminatingChar="", std::string header="", std::string tableSpacer="", std::string footer="") |
template<class EocCalculatorType > | |
static void | write (const int tabId, std::vector< double > &vals, std::vector< std::string > &descriptions, std::ostream &out, std::string delimiter=" ", std::string terminatingChar="", std::string header="", std::string tableSpacer="", std::string footer="") |
commit a line to the eoc file, using EocCalculatorType for non standart Eoc calculations. | |
template<class EocCalculatorType > | |
static void | write (std::vector< double > &vals, std::vector< std::string > &descriptions, std::ostream &out, std::string delimiter=" ", std::string terminatingChar="", std::string header="", std::string tableSpacer="", std::string footer="") |
The Fem Eoc Table writer.
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
add a single new eoc output
tabId | Id of the table we want to add an entry |
descript | vector with entry description |
|
inlinestatic |
add a single new eoc output
tabId | Id of the table we want to add an entry |
descript | vector with entry description |
|
inlinestatic |
add a vector of new eoc values
tabId | Id of the table we inserte a value |
StrVectorType | a vector type with size() and operator[] returning a string |
descript | vector with entry description |
|
inlinestatic |
add a vector of new eoc values
tabId | Id of the table we inserte a value |
StrVectorType | a vector type with operator[] returning a string (a C style array can be used) the size of the vector is given as parameter |
descript | vector with entry description |
size | length of description |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
creates a new table and opens file name as above returns the Id of the table opened.
|
inlinestatic |
creates a new table and opens the corresponding file path/name returns the Id of the created table.
|
inlinestatic |
|
inlinestatic |
add a single error value for the given id (returned by addEntry)
tabId | Id of the table we want to set errors |
id | Id of the error |
err | Vector containing the error |
|
inlinestatic |
add a vector in a FieldVector of error values for the given id (returned by addEntry)
tabId | Id of the table we want to set errors |
id | Id of the error |
err | Vector containing the error |
|
inlinestatic |
add a vector of error values for the given id (returned by addEntry)
tabId | Id of the table we want to set errors |
id | Id of the error |
err | Vector containing the error |
VectorType | a vector type with a size() and an operator[] returning a double |
|
inlinestatic |
add a vector of error values for the given id (returned by addEntry)
tabId | Id of the table we want to set errors |
id | Id of the error |
err | Vector containing the error |
size | Size of error Vector |
VectorType | a vector type with an operator[] returning a double (C style array can be used) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
commit a line to the eoc file
tabId | table Id returned by the initial function |
vals | std::vector of vals that should appear in the EOC table |
descriptions | std::vector with descriptions of the values that should appear |
terminatingChar | char which ends an entry, default = " " |
out | std::ostream to print data to (e.g. std::cout) |
header | header string for Latex output, default = " " |
tableSpacer | spacer for empty columns in the table, default = " " |
footer | footer string for Latex output, default = " " |
delimiter | spacer between the entries, default " " |
|
inlinestatic |
commit a line to the eoc file, using EocCalculatorType for non standart Eoc calculations.
tabId | table Id returned by the initial function |
vals | std::vector of vals that should appear in the EOC table |
descriptions | std::vector with descriptions of the values that should appear |
terminatingChar | char which ends an entry, default = " " |
out | std::ostream to print data to (e.g. std::cout) |
header | header string for Latex output, default = " " |
tableSpacer | spacer for empty columns in the table, default = " " |
footer | footer string for Latex output, default = " " |
delimiter | spacer between the entries, default " " |
|
inlinestatic |
commit a line to the eoc file
tabId | table Id returned by the initial function |
vals | std::vector of vals that should appear in the EOC table, vals[0] is expected to be a charateristical value. |
descriptions | std::vector with descriptions of the values that should appear |
terminatingChar | char which ends an entry, default = " " |
header | header string for Latex output, default = "" |
tableSpacer | spacer for empty columns in the table, default = "" |
footer | footer string for Latex output, default = "" |
delimiter | spacer between the entries, default =" " |
|
inlinestatic |
commit a line to the eoc file, using EocCalculatorType to calculate the eoc.
tabId | table Id returned by the initial function |
vals | std::vector of vals that should appear in the EOC table, vals[0] is expected to be a charateristical value. |
descriptions | std::vector with descriptions of the values that should appear |
terminatingChar | char which ends an entry, default = " " |
header | header string for Latex output, default = "" |
tableSpacer | spacer for empty columns in the table, default = "" |
footer | footer string for Latex output, default = "" |
delimiter | spacer between the entries, default =" " |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |