added: allow sim classes to name themself

this will be useful when dumping several SIMs into one HDF5 file.
we then need to be able to distinguish the bases for the different
fields

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1021 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
akva
2011-06-01 12:50:41 +00:00
committed by Knut Morten Okstad
parent feb5548931
commit 04b04a20f3

View File

@@ -121,6 +121,8 @@ public:
//! \brief Returns a pointer to the problem-specific data object.
const Integrand* getProblem() const { return myProblem; }
virtual std::string getName() const { return "SIMbase"; }
//! \brief Returns the number of primary solution fields.
//! \param[in] basis Which basis to condsider when mixed methods (0 = both)
size_t getNoFields(int basis = 0) const;