Go to the documentation of this file.
18 #ifndef __WEIPA_EXCEPTION_H__
19 #define __WEIPA_EXCEPTION_H__
21 #include <escript/EsysException.h>
36 #endif // __WEIPA_EXCEPTION_H__
The base class for escript exceptions.
Definition: EsysException.h:41
bool saveSilo(const std::string fileName, bool useMultiMesh=true)
Saves the dataset in the Silo file format.
Definition: EscriptDataset.cpp:308
bool publishData(EscriptDataset_ptr dataset)
Definition: VisItControl.cpp:251
bool addData(escript::Data &data, const std::string name, const std::string units="")
Adds an escript data instance to this dataset. You must ensure that the data is defined on the domain...
Definition: EscriptDataset.cpp:218
Definition: DataVar.cpp:50
bool initialize(const std::string &simFile, const std::string &comment)
Definition: VisItControl.cpp:203
void setMeshLabels(const std::string x, const std::string y, const std::string z="")
Sets labels for the mesh axes.
Definition: EscriptDataset.cpp:558
BOOST_PYTHON_MODULE(weipacpp)
Definition: weipacpp.cpp:30
void setSaveMeshData(bool flag)
Enables/Disables saving of mesh-related data.
Definition: EscriptDataset.h:133
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:63
WeipaException(const std::string &str)
Definition: WeipaException.h:56
Definition: AbstractContinuousDomain.cpp:23
void saveVTK(const std::string fileName)
Saves the dataset in the VTK XML file format.
Definition: EscriptDataset.cpp:487
void setCycleAndTime(int c, double t)
Sets the cycle number and time value for this dataset.
Definition: EscriptDataset.h:110
bool setDomain(const escript::AbstractDomain *domain)
Sets the escript domain for this dataset. This method can only be called once and should be the first...
Definition: EscriptDataset.cpp:111
void setMetadataSchemaString(const std::string schema, const std::string metadata)
Sets a metadata schema and content.
Definition: EscriptDataset.h:128
void setMeshUnits(const std::string x, const std::string y, const std::string z="")
Sets units for the mesh axes.
Definition: EscriptDataset.cpp:570