Salome HOME
projects
/
modules
/
med.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Addition of new reference coords including degenerated cells.
[modules/med.git]
/
src
/
MEDCoupling
/
MEDCouplingNatureOfField.hxx
diff --git
a/src/MEDCoupling/MEDCouplingNatureOfField.hxx
b/src/MEDCoupling/MEDCouplingNatureOfField.hxx
index 00a9b02d45d0f71c2782c6dcdf7f656e04d5e9b4..aac1ea66257a4f9f10974263f1cd520391661ea2 100644
(file)
--- a/
src/MEDCoupling/MEDCouplingNatureOfField.hxx
+++ b/
src/MEDCoupling/MEDCouplingNatureOfField.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D
+// Copyright (C) 2007-201
3
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-22,23
+22,18
@@
#define __PARAMEDMEM_MEDCOUPLINGNATUREOFFIELD_HXX__
#include "MEDCoupling.hxx"
#define __PARAMEDMEM_MEDCOUPLINGNATUREOFFIELD_HXX__
#include "MEDCoupling.hxx"
+#include "MEDCouplingNatureOfFieldEnum"
+
#include "InterpKernelException.hxx"
namespace ParaMEDMEM
{
#include "InterpKernelException.hxx"
namespace ParaMEDMEM
{
- typedef enum
- {
- NoNature = 17,
- ConservativeVolumic = 26,
- Integral = 32,
- IntegralGlobConstraint = 35,
- RevIntegral = 37
- } NatureOfField;
-
class MEDCouplingNatureOfField
{
public:
class MEDCouplingNatureOfField
{
public:
- MEDCOUPLING_EXPORT static const char *GetRepr(NatureOfField nat) throw(INTERP_KERNEL::Exception);
+ MEDCOUPLING_EXPORT static const char *GetRepr(NatureOfField nat);
+ MEDCOUPLING_EXPORT static std::string GetReprNoThrow(NatureOfField nat);
+ MEDCOUPLING_EXPORT static std::string GetAllPossibilitiesStr();
private:
static const int NB_OF_POSSIBILITIES=5;
static const char *REPR_OF_NATUREOFFIELD[NB_OF_POSSIBILITIES];
private:
static const int NB_OF_POSSIBILITIES=5;
static const char *REPR_OF_NATUREOFFIELD[NB_OF_POSSIBILITIES];