Changeset 8223


Ignore:
Timestamp:
05/10/11 09:29:16 (14 years ago)
Author:
Mathieu Morlighem
Message:

Added 2 mex modules: StringToEnum and EnumToString

Location:
issm/trunk/src/mex
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/mex/InputUpdateFromVector/InputUpdateFromVector.cpp

    r7175 r8223  
    3838        /*Check that type is one of Constant, Vertex or Element: */
    3939        if ((type!=ConstantEnum) && (type!=VertexEnum) && (type!=ElementEnum)){
    40                 _error_("%s%s%s\n","Type of input can only be a constant, a vertex or an element vector.  Right now, you input a ",EnumToString(type)," type data for input update");
     40                _error_("%s%s%s\n","Type of input can only be a constant, a vertex or an element vector.  Right now, you input a ",EnumToStringx(type)," type data for input update");
    4141        }
    4242
  • issm/trunk/src/mex/Makefile.am

    r8099 r8223  
    2424                                Echo\
    2525                                ElementConnectivity\
     26                                EnumToString\
     27                                StringToEnum\
    2628                                InputControlUpdate \
    2729                                InputConvergence\
     
    167169                          ElementConnectivity/ElementConnectivity.h
    168170
     171EnumToString_SOURCES = EnumToString/EnumToString.cpp\
     172                          EnumToString/EnumToString.h
     173
     174StringToEnum_SOURCES = StringToEnum/StringToEnum.cpp\
     175                          StringToEnum/StringToEnum.h
     176
    169177GetPId_SOURCES = GetPId/GetPId.cpp\
    170178                                          GetPId/GetPId.h
Note: See TracChangeset for help on using the changeset viewer.