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:30
WeipaException exception class.
Definition: WeipaException.h:29
bool saveSilo(const std::string fileName, bool useMultiMesh=true)
Saves the dataset in the Silo file format.
Definition: EscriptDataset.cpp:309
bool publishData(EscriptDataset_ptr dataset)
Definition: VisItControl.cpp:226
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:219
Definition: DataVar.cpp:51
bool initialize(const std::string &simFile, const std::string &comment)
Definition: VisItControl.cpp:178
void setMeshLabels(const std::string x, const std::string y, const std::string z="")
Sets labels for the mesh axes.
Definition: EscriptDataset.cpp:559
BOOST_PYTHON_MODULE(weipacpp)
Definition: weipacpp.cpp:31
void setSaveMeshData(bool flag)
Enables/Disables saving of mesh-related data.
Definition: EscriptDataset.h:134
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:38
WeipaException(const std::string &str)
Definition: WeipaException.h:31
Definition: AbstractContinuousDomain.cpp:23
void saveVTK(const std::string fileName)
Saves the dataset in the VTK XML file format.
Definition: EscriptDataset.cpp:488
void setCycleAndTime(int c, double t)
Sets the cycle number and time value for this dataset.
Definition: EscriptDataset.h:111
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:112
void setMetadataSchemaString(const std::string schema, const std::string metadata)
Sets a metadata schema and content.
Definition: EscriptDataset.h:129
void setMeshUnits(const std::string x, const std::string y, const std::string z="")
Sets units for the mesh axes.
Definition: EscriptDataset.cpp:571