Go to the documentation of this file.
17 #ifndef __WEIPA_EXCEPTION_H__
18 #define __WEIPA_EXCEPTION_H__
20 #include <escript/EsysException.h>
35 #endif // __WEIPA_EXCEPTION_H__
The base class for escript exceptions.
Definition: EsysException.h:39
bool saveSilo(const std::string fileName, bool useMultiMesh=true)
Saves the dataset in the Silo file format.
Definition: EscriptDataset.cpp:307
bool publishData(EscriptDataset_ptr dataset)
Definition: VisItControl.cpp:248
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:217
Definition: DataVar.cpp:49
bool initialize(const std::string &simFile, const std::string &comment)
Definition: VisItControl.cpp:200
void setMeshLabels(const std::string x, const std::string y, const std::string z="")
Sets labels for the mesh axes.
Definition: EscriptDataset.cpp:557
BOOST_PYTHON_MODULE(weipacpp)
Definition: weipacpp.cpp:29
void setSaveMeshData(bool flag)
Enables/Disables saving of mesh-related data.
Definition: EscriptDataset.h:132
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:60
WeipaException(const std::string &str)
Definition: WeipaException.h:53
Definition: AbstractContinuousDomain.cpp:22
void saveVTK(const std::string fileName)
Saves the dataset in the VTK XML file format.
Definition: EscriptDataset.cpp:486
void setCycleAndTime(int c, double t)
Sets the cycle number and time value for this dataset.
Definition: EscriptDataset.h:109
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:110
void setMetadataSchemaString(const std::string schema, const std::string metadata)
Sets a metadata schema and content.
Definition: EscriptDataset.h:127
void setMeshUnits(const std::string x, const std::string y, const std::string z="")
Sets units for the mesh axes.
Definition: EscriptDataset.cpp:569