Back to index

salome-med  6.5.0
Public Member Functions | Static Public Member Functions | Static Private Attributes
ParaMEDMEM::MEDCouplingNatureOfField Class Reference

#include <MEDCouplingNatureOfField.hxx>

Inheritance diagram for ParaMEDMEM::MEDCouplingNatureOfField:
Inheritance graph
[legend]
Collaboration diagram for ParaMEDMEM::MEDCouplingNatureOfField:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def getRepr

Static Public Member Functions

static MEDCOUPLING_EXPORT
const char * 
getRepr (NatureOfField nat) throw (INTERP_KERNEL::Exception)

Static Private Attributes

static const int NB_OF_POSSIBILITIES = 5
static const char * REPR_OF_NATUREOFFIELD [NB_OF_POSSIBILITIES]
static const int POS_OF_NATUREOFFIELD [NB_OF_POSSIBILITIES] = {17,26,32,35,37}
dictionary __swig_setmethods__ = {}
tuple __setattr__ = lambdaself,name,value:_swig_setattr(self, MEDCouplingNatureOfField, name, value)
dictionary __swig_getmethods__ = {}
tuple __getattr__ = lambdaself,name:_swig_getattr(self, MEDCouplingNatureOfField, name)
 __repr__ = _swig_repr
 __swig_destroy__ = _ParaMEDMEM.delete_MEDCouplingNatureOfField

Detailed Description

1

Definition at line 37 of file MEDCouplingNatureOfField.hxx.


Constructor & Destructor Documentation

def ParaMEDMEM.MEDCouplingNatureOfField.__init__ (   self,
  args,
  kwargs 
)

Definition at line 4189 of file ParaMEDMEM.py.

04189 
    def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")

Member Function Documentation

const char * ParaMEDMEM::MEDCouplingNatureOfField::getRepr ( NatureOfField  nat) throw (INTERP_KERNEL::Exception) [static]

Definition at line 35 of file MEDCouplingNatureOfField.cxx.

  {
    const int *pos=std::find(POS_OF_NATUREOFFIELD,POS_OF_NATUREOFFIELD+NB_OF_POSSIBILITIES,(int)nat);
    if(pos==POS_OF_NATUREOFFIELD+NB_OF_POSSIBILITIES)
      throw INTERP_KERNEL::Exception("MEDCouplingNatureOfField::getRepr : Unrecognized nature of field !");
    std::size_t pos2=std::distance(POS_OF_NATUREOFFIELD,pos);
    return REPR_OF_NATUREOFFIELD[pos2];
  }

Here is the caller graph for this function:

getRepr(NatureOfField nat) -> char

1

Definition at line 4191 of file ParaMEDMEM.py.

04191 
04192     def getRepr(*args):
04193         """
04194         getRepr(NatureOfField nat) -> char
04195 
04196         1
04197         """
04198         return _ParaMEDMEM.MEDCouplingNatureOfField_getRepr(*args)

Here is the call graph for this function:


Member Data Documentation

tuple ParaMEDMEM.MEDCouplingNatureOfField.__getattr__ = lambdaself,name:_swig_getattr(self, MEDCouplingNatureOfField, name) [static, private]

Definition at line 4188 of file ParaMEDMEM.py.

Definition at line 4190 of file ParaMEDMEM.py.

tuple ParaMEDMEM.MEDCouplingNatureOfField.__setattr__ = lambdaself,name,value:_swig_setattr(self, MEDCouplingNatureOfField, name, value) [static, private]

Definition at line 4186 of file ParaMEDMEM.py.

ParaMEDMEM.MEDCouplingNatureOfField.__swig_destroy__ = _ParaMEDMEM.delete_MEDCouplingNatureOfField [static, private]

Definition at line 4201 of file ParaMEDMEM.py.

Definition at line 4187 of file ParaMEDMEM.py.

Definition at line 4185 of file ParaMEDMEM.py.

Definition at line 42 of file MEDCouplingNatureOfField.hxx.

const int ParaMEDMEM::MEDCouplingNatureOfField::POS_OF_NATUREOFFIELD = {17,26,32,35,37} [static, private]

Definition at line 44 of file MEDCouplingNatureOfField.hxx.

Initial value:
    { "NoNature",
      "ConservativeVolumic",
      "Integral",
      "IntegralGlobConstraint",
      "RevIntegral"}

Definition at line 43 of file MEDCouplingNatureOfField.hxx.


The documentation for this class was generated from the following files: