ports

Collection of all port types actually available in mimmo. Each port is declared as a costant string M_<xxx>, where M_ prefix identifies the mimmo port. Please refer to each Manipulation Block documentation for port usage examples. More...

#define M_GEOM   "M_GEOM"
 
#define M_GEOM2   "M_GEOM2"
 
#define M_GEOM3   "M_GEOM3"
 
#define M_GEOM4   "M_GEOM4"
 
#define M_GEOM5   "M_GEOM5"
 
#define M_GEOM6   "M_GEOM6"
 
#define M_GEOM7   "M_GEOM7"
 
#define M_GEOMOFOAM   "M_GEOMOFOAM"
 
#define M_GEOMOFOAM2   "M_GEOMOFOAM2"
 
#define M_VECGEOM   "M_VECGEOM"
 
#define M_COORDS   "M_COORDS"
 
#define M_GLOBAL   "M_GLOBAL"
 
#define M_LOCAL   "M_LOCAL"
 
#define M_DISPLS   "M_DISPLS"
 
#define M_GDISPLS   "M_GDISPLS"
 
#define M_GDISPLS2   "M_GDISPLS2"
 
#define M_FILTER   "M_FILTER"
 
#define M_FILTER2   "M_FILTER2"
 
#define M_DATAFIELD   "M_DATAFIELD"
 
#define M_DATAFIELD2   "M_DATAFIELD2"
 
#define M_VECTORSI   "M_VECTORSI"
 
#define M_VECTORLI   "M_VECTORLI"
 
#define M_VECTORLI2   "M_VECTORLI2"
 
#define M_VECTORLI3   "M_VECTORLI3"
 
#define M_SCALARFIELD   "M_SCALARFIELD"
 
#define M_SCALARFIELD2   "M_SCALARFIELD2"
 
#define M_VECTORFIELD   "M_VECTORFIELD"
 
#define M_VECTORFIELD2   "M_VECTORFIELD2"
 
#define M_STRINGFIELD   "M_STRINGFIELD"
 
#define M_STRINGFIELD2   "M_STRINGFIELD2"
 
#define M_LONGFIELD   "M_LONGFIELD"
 
#define M_LONGFIELD2   "M_LONGFIELD2"
 
#define M_VECSCALARFIELDS   "M_VECSCALARFIELDS"
 
#define M_VECVECTORFIELDS   "M_VECVECTORFIELDS"
 
#define M_VECSTRINGFIELDS   "M_VECSTRINGFIELDS"
 
#define M_VECLONGFIELDS   "M_VECLONGFIELDS"
 
#define M_POINT   "M_POINT"
 
#define M_AXIS   "M_AXIS"
 
#define M_AXES   "M_AXES"
 
#define M_SPAN   "M_SPAN"
 
#define M_DIMENSION   "M_DIMENSION"
 
#define M_INFLIMITS   "M_INFLIMITS"
 
#define M_SHAPE   "M_SHAPE"
 
#define M_COPYSHAPE   "M_COPYSHAPE"
 
#define M_SHAPEI   "M_SHAPEI"
 
#define M_PLANE   "M_PLANE"
 
#define M_VALUED   "M_VALUED"
 
#define M_VALUEI   "M_VALUEI"
 
#define M_VALUELI   "M_VALUELI"
 
#define M_VALUEB   "M_VALUEB"
 
#define M_BMATRIX   "M_BMATRIX"
 
#define M_BCOEFFS   "M_BCOEFFS"
 
#define M_VALUESI   "M_VALUESI"
 
#define M_DEG   "M_DEG"
 
#define M_NURBSCOORDTYPE   "M_NURBSCOORDTYPE"
 
#define M_NURBSWEIGHTS   "M_NURBSWEIGHTS"
 
#define M_BCCGNS   "M_BCCGNS"
 
#define M_POINT2   "M_POINT2"
 
#define M_VALUED2   "M_VALUED2"
 
#define M_VALUEB2   "M_VALUEB2"
 
#define M_VALUEI2   "M_VALUEI2"
 
#define M_POLYDATA_   "M_POLYDATA_"
 
#define M_UMAPIDS   "M_UMAPIDS"
 
#define M_UMAPI   "M_UMAPI"
 
#define M_NAME   "M_NAME"
 
#define M_WAVEFRONTDATA   "M_WAVEFRONTDATA"
 
#define M_VECTORLI4   "M_VECTORLI4"
 
#define M_BASE   "M_BASE"
 

Detailed Description

Collection of all port types actually available in mimmo. Each port is declared as a costant string M_<xxx>, where M_ prefix identifies the mimmo port. Please refer to each Manipulation Block documentation for port usage examples.

Macro Definition Documentation

◆ M_AXES

#define M_AXES   "M_AXES"

Port dedicated to communication of a 3 axis reference system [ array < array< double,3 >, 3>]

Examples
utils_example_00004.cpp.

Definition at line 72 of file portDefinitions.hpp.

◆ M_AXIS

#define M_AXIS   "M_AXIS"

Port dedicated to communication of an axis direction [ array < double,3 > ]

Definition at line 71 of file portDefinitions.hpp.

◆ M_BASE

#define M_BASE   "M_BASE"

Port dedicated to communication of a pointer to a BaseManipulation object [ mimmo::BaseManipulation ]

Definition at line 101 of file portDefinitions.hpp.

◆ M_BCCGNS

#define M_BCCGNS   "M_BCCGNS"

Port dedicated to communicate a pointer to a BCCGNS object (Boundary Conditions Info for CGNS export)

Examples
iocgns_example_00001.cpp.

Definition at line 90 of file portDefinitions.hpp.

◆ M_BCOEFFS

#define M_BCOEFFS   "M_BCOEFFS"

Port dedicated to communication of a pointer to 3x3 matrix of float vector N values [array < array< vector< double>,3>,3>]

Definition at line 85 of file portDefinitions.hpp.

◆ M_BMATRIX

#define M_BMATRIX   "M_BMATRIX"

Port dedicated to communication of a 3x3 matrix of float values [array< array< double,3>,3>]

Definition at line 84 of file portDefinitions.hpp.

◆ M_COORDS

#define M_COORDS   "M_COORDS"

Port dedicated to communication of coordinates of points [vector < array < double,3 > > ]

Examples
genericinput_example_00001.cpp, manipulators_example_00006.cpp, manipulators_example_00007.cpp, and manipulators_example_00008.cpp.

Definition at line 44 of file portDefinitions.hpp.

◆ M_COPYSHAPE

#define M_COPYSHAPE   "M_COPYSHAPE"

Port dedicated to communication of an elemental shape itself, passed by pointer, instantiated elsewhere [BasicShape *]

Definition at line 77 of file portDefinitions.hpp.

◆ M_DATAFIELD

#define M_DATAFIELD   "M_DATAFIELD"

Port dedicated to communication of a generic scalar field [ std::vector<double>]

Examples
manipulators_example_00007.cpp, and manipulators_example_00008.cpp.

Definition at line 52 of file portDefinitions.hpp.

◆ M_DATAFIELD2

#define M_DATAFIELD2   "M_DATAFIELD2"

Port dedicated to communication of a generic scalar field [ std::vector<double>]

Definition at line 53 of file portDefinitions.hpp.

◆ M_DEG

#define M_DEG   "M_DEG"

Port dedicated to communication of degrees of freedom numbers in each of 3D space dimensions [array< int,3 >]

Definition at line 87 of file portDefinitions.hpp.

◆ M_DIMENSION

#define M_DIMENSION   "M_DIMENSION"

Port dedicated to communication of the lattice mesh dimension [ array < int,3 > ]

Definition at line 74 of file portDefinitions.hpp.

◆ M_DISPLS

#define M_DISPLS   "M_DISPLS"

◆ M_FILTER

#define M_FILTER   "M_FILTER"

Port dedicated to communication of a scalar field used as a filter function [ POINTER to MimmoPiercedVector < double > ]

Definition at line 50 of file portDefinitions.hpp.

◆ M_FILTER2

#define M_FILTER2   "M_FILTER2"

Port dedicated to communication of a scalar field used as a filter function [ POINTER to MimmoPiercedVector < double > ]

Definition at line 51 of file portDefinitions.hpp.

◆ M_GDISPLS

◆ M_GDISPLS2

#define M_GDISPLS2   "M_GDISPLS2"

Port dedicated to communication of displacements relative to geometry vertices [ POINTER to MimmoPiercedVector < array < double,3 > > ]

Definition at line 49 of file portDefinitions.hpp.

◆ M_GEOM

◆ M_GEOM2

#define M_GEOM2   "M_GEOM2"

◆ M_GEOM3

#define M_GEOM3   "M_GEOM3"

Port dedicated to communication of pointers to a MimmoObject object

Examples
iocgns_example_00001.cpp.

Definition at line 36 of file portDefinitions.hpp.

◆ M_GEOM4

#define M_GEOM4   "M_GEOM4"

Port dedicated to communication of pointers to a MimmoObject object

Examples
iocgns_example_00001.cpp.

Definition at line 37 of file portDefinitions.hpp.

◆ M_GEOM5

#define M_GEOM5   "M_GEOM5"

Port dedicated to communication of pointers to a MimmoObject object

Definition at line 38 of file portDefinitions.hpp.

◆ M_GEOM6

#define M_GEOM6   "M_GEOM6"

Port dedicated to communication of pointers to a MimmoObject object

Definition at line 39 of file portDefinitions.hpp.

◆ M_GEOM7

#define M_GEOM7   "M_GEOM7"

Port dedicated to communication of pointers to a MimmoObject object

Examples
iocgns_example_00001.cpp.

Definition at line 40 of file portDefinitions.hpp.

◆ M_GEOMOFOAM

#define M_GEOMOFOAM   "M_GEOMOFOAM"

Port dedicated to communication of pointers to a MimmoObject object used as I/O between OFOAM blocks

Examples
ioofoam_example_00001.cpp, and ioofoam_example_00002.cpp.

Definition at line 41 of file portDefinitions.hpp.

◆ M_GEOMOFOAM2

#define M_GEOMOFOAM2   "M_GEOMOFOAM2"

Port dedicated to communication of pointers to a MimmoObject object used as I/O between OFOAM blocks

Examples
ioofoam_example_00001.cpp, and ioofoam_example_00002.cpp.

Definition at line 42 of file portDefinitions.hpp.

◆ M_GLOBAL

#define M_GLOBAL   "M_GLOBAL"

Port dedicated to communication of coordinates of points in a global reference system [ vector < array < double,3 > > ]

Definition at line 45 of file portDefinitions.hpp.

◆ M_INFLIMITS

#define M_INFLIMITS   "M_INFLIMITS"

Port dedicated to communication of the nferior limits for building an elemental shape [ array < double,3 > ]

Definition at line 75 of file portDefinitions.hpp.

◆ M_LOCAL

#define M_LOCAL   "M_LOCAL"

Port dedicated to communication of coordinates of points in a local reference system [ vector < array < double,3 > > ]

Definition at line 46 of file portDefinitions.hpp.

◆ M_LONGFIELD

#define M_LONGFIELD   "M_LONGFIELD"

Port dedicated to communication of a generic long field [ POINTER to MimmoPiercedvector < long > ]

Definition at line 64 of file portDefinitions.hpp.

◆ M_LONGFIELD2

#define M_LONGFIELD2   "M_LONGFIELD2"

Port dedicated to communication of a generic long field [ POINTER to MimmoPiercedvector < long > ]

Definition at line 65 of file portDefinitions.hpp.

◆ M_NAME

#define M_NAME   "M_NAME"

Port dedicated to communication of a name [std::string]

Definition at line 98 of file portDefinitions.hpp.

◆ M_NURBSCOORDTYPE

#define M_NURBSCOORDTYPE   "M_NURBSCOORDTYPE"

Port dedicated to communicate NURBS design boundary condition on FFDLattice [array < mimmo::CoordType,3> ]

Definition at line 88 of file portDefinitions.hpp.

◆ M_NURBSWEIGHTS

#define M_NURBSWEIGHTS   "M_NURBSWEIGHTS"

Port dedicated to communicate NURBS weights on FFDLattice nodes [ vector < double > ]

Definition at line 89 of file portDefinitions.hpp.

◆ M_PLANE

#define M_PLANE   "M_PLANE"

Port dedicated to communicate planes in a*x+b*y+c*z +d = 0 implicit form [ array < double,4 > ]

Definition at line 79 of file portDefinitions.hpp.

◆ M_POINT

#define M_POINT   "M_POINT"

Port dedicated to communication of 3D point coordinates [ array < double,3 > ]

Examples
utils_example_00003.cpp, and utils_example_00004.cpp.

Definition at line 70 of file portDefinitions.hpp.

◆ M_POINT2

#define M_POINT2   "M_POINT2"

Port dedicated to communication of 3D point coordinates [ array < double,3 > ]

Definition at line 91 of file portDefinitions.hpp.

◆ M_POLYDATA_

#define M_POLYDATA_   "M_POLYDATA_"

Port dedicated to communicate a pointer to a vtk polydata mesh [vtkPolyData *]

Definition at line 95 of file portDefinitions.hpp.

◆ M_SCALARFIELD

#define M_SCALARFIELD   "M_SCALARFIELD"

Port dedicated to communication of a generic scalar field [ POINTER to MimmoPiercedvector < double > ]

Examples
ioofoam_example_00001.cpp, manipulators_example_00007.cpp, and manipulators_example_00008.cpp.

Definition at line 58 of file portDefinitions.hpp.

◆ M_SCALARFIELD2

#define M_SCALARFIELD2   "M_SCALARFIELD2"

Port dedicated to communication of a generic scalar field [ POINTER to MimmoPiercedvector < double > ]

Examples
ioofoam_example_00001.cpp, and manipulators_example_00007.cpp.

Definition at line 59 of file portDefinitions.hpp.

◆ M_SHAPE

#define M_SHAPE   "M_SHAPE"

Port dedicated to communication of an elemental shape type [ mimmo::ShapeType enum ]

Definition at line 76 of file portDefinitions.hpp.

◆ M_SHAPEI

#define M_SHAPEI   "M_SHAPEI"

Port dedicated to communication of an elemental shape type [int -> casted from mimmo::ShapeType enum]

Definition at line 78 of file portDefinitions.hpp.

◆ M_SPAN

#define M_SPAN   "M_SPAN"

Port dedicated to communication of the span(dimensions) of an elemental object [ array < double,3 > ]

Examples
utils_example_00003.cpp.

Definition at line 73 of file portDefinitions.hpp.

◆ M_STRINGFIELD

#define M_STRINGFIELD   "M_STRINGFIELD"

Port dedicated to communication of a generic string field [ POINTER to MimmoPiercedvector < std::string > ]

Definition at line 62 of file portDefinitions.hpp.

◆ M_STRINGFIELD2

#define M_STRINGFIELD2   "M_STRINGFIELD2"

Port dedicated to communication of a generic string field [ POINTER to MimmoPiercedvector < std::string > ]

Definition at line 63 of file portDefinitions.hpp.

◆ M_UMAPI

#define M_UMAPI   "M_UMAPI"

Port dedicated to communicate a map between IDs and int [std::unordered_map<long, int> *]

Definition at line 97 of file portDefinitions.hpp.

◆ M_UMAPIDS

#define M_UMAPIDS   "M_UMAPIDS"

Port dedicated to communicate a map between IDs [std::unordered_map<long, long> *]

Examples
ioofoam_example_00001.cpp, and ioofoam_example_00002.cpp.

Definition at line 96 of file portDefinitions.hpp.

◆ M_VALUEB

#define M_VALUEB   "M_VALUEB"

Port dedicated to communication of a single scalar value [bool]

Definition at line 83 of file portDefinitions.hpp.

◆ M_VALUEB2

#define M_VALUEB2   "M_VALUEB2"

Port dedicated to communication of a single scalar value [bool]

Definition at line 93 of file portDefinitions.hpp.

◆ M_VALUED

#define M_VALUED   "M_VALUED"

Port dedicated to communication of a single scalar value [double]

Definition at line 80 of file portDefinitions.hpp.

◆ M_VALUED2

#define M_VALUED2   "M_VALUED2"

Port dedicated to communication of a single scalar value [double]

Definition at line 92 of file portDefinitions.hpp.

◆ M_VALUEI

#define M_VALUEI   "M_VALUEI"

Port dedicated to communication of a single scalar value [int]

Definition at line 81 of file portDefinitions.hpp.

◆ M_VALUEI2

#define M_VALUEI2   "M_VALUEI2"

Port dedicated to communication of a single scalar value [int]

Definition at line 94 of file portDefinitions.hpp.

◆ M_VALUELI

#define M_VALUELI   "M_VALUELI"

Port dedicated to communication of a single scalar value [long]

Definition at line 82 of file portDefinitions.hpp.

◆ M_VALUESI

#define M_VALUESI   "M_VALUESI"

Port dedicated to communication of a single scalar value [short int]

Definition at line 86 of file portDefinitions.hpp.

◆ M_VECGEOM

#define M_VECGEOM   "M_VECGEOM"

Port dedicated to communication of list of pointers to a MimmoObject object [ std::vector< MimmoObject* > ]

Definition at line 43 of file portDefinitions.hpp.

◆ M_VECLONGFIELDS

#define M_VECLONGFIELDS   "M_VECLONGFIELDS"

Port dedicated to communication of a std::vector of pointers to generic vector fields [ std::vector< MimmoPiercedvector < long > * >]

Definition at line 69 of file portDefinitions.hpp.

◆ M_VECSCALARFIELDS

#define M_VECSCALARFIELDS   "M_VECSCALARFIELDS"

Port dedicated to communication of a std::vector of pointers to generic scalar fields [ std::vector< MimmoPiercedvector < double > * >]

Definition at line 66 of file portDefinitions.hpp.

◆ M_VECSTRINGFIELDS

#define M_VECSTRINGFIELDS   "M_VECSTRINGFIELDS"

Port dedicated to communication of a std::vector of pointers to generic vector fields [ std::vector< MimmoPiercedvector < string > * >]

Definition at line 68 of file portDefinitions.hpp.

◆ M_VECTORFIELD

#define M_VECTORFIELD   "M_VECTORFIELD"

Port dedicated to communication of a generic vector field [ POINTER to MimmoPiercedvector < array< double,3> > ]

Examples
genericinput_example_00002.cpp, genericinput_example_00004.cpp, geohandlers_example_00003.cpp, iocgns_example_00001.cpp, manipulators_example_00006.cpp, manipulators_example_00007.cpp, and utils_example_00003.cpp.

Definition at line 60 of file portDefinitions.hpp.

◆ M_VECTORFIELD2

#define M_VECTORFIELD2   "M_VECTORFIELD2"

Port dedicated to communication of a generic vector field [ POINTER to MimmoPiercedvector < array< double,3> > ]

Definition at line 61 of file portDefinitions.hpp.

◆ M_VECTORLI

#define M_VECTORLI   "M_VECTORLI"

Port dedicated to communication of a generic list of long integers [ vector < long int > ]

Definition at line 55 of file portDefinitions.hpp.

◆ M_VECTORLI2

#define M_VECTORLI2   "M_VECTORLI2"

Port dedicated to communication of a generic list of long integers [ vector < long int > ]

Definition at line 56 of file portDefinitions.hpp.

◆ M_VECTORLI3

#define M_VECTORLI3   "M_VECTORLI3"

Port dedicated to communication of a generic list of long integers [ vector < long int > ]

Definition at line 57 of file portDefinitions.hpp.

◆ M_VECTORLI4

#define M_VECTORLI4   "M_VECTORLI4"

Port dedicated to communication of a generic list of long integers [ vector < long int > ]

Definition at line 100 of file portDefinitions.hpp.

◆ M_VECTORSI

#define M_VECTORSI   "M_VECTORSI"

Port dedicated to communication of a generic list of short integers [ vector < short int > ]

Definition at line 54 of file portDefinitions.hpp.

◆ M_VECVECTORFIELDS

#define M_VECVECTORFIELDS   "M_VECVECTORFIELDS"

Port dedicated to communication of a std::vector of pointers to generic vector fields [ std::vector< MimmoPiercedvector < array< double,3> > * >]

Definition at line 67 of file portDefinitions.hpp.

◆ M_WAVEFRONTDATA

#define M_WAVEFRONTDATA   "M_WAVEFRONTDATA"

port to pass a MD_WOBJDATA_ data (pointer to WavefrontObjData)

Examples
genericinput_example_00005.cpp.

Definition at line 99 of file portDefinitions.hpp.