Ignore:
Timestamp:
11/09/15 17:58:03 (9 years ago)
Author:
Eric.Larour
Message:

CHG: added new capability to compile javascript modules usable in a webpage (test101.html).
Relies on the emscripten emcc compiler (see m4/issm_options.m4). triangle and TriMesh are the
first modules to be tested. Extensive issues with compiling triangle with em++ and not emcc (C++ vs
C, because of unresolved symbols at link time). We now have a workable model, mesh and triangle
mesher for javascript repliction of test101. Have to work further on parameterize and solve.

Location:
issm/trunk-jpl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl

    • Property svn:ignore
      •  

        old new  
         1build-js
         2build-esmf
        13build-gcm
        24build-fw
  • issm/trunk-jpl/src/wrappers/TriMesh/TriMesh.h

    r14996 r19702  
    5555#endif
    5656
     57#ifdef _HAVE_JAVASCRIPT_MODULES_
     58/* serial input macros: */
     59#define DOMAINOUTLINE domainx,domainy,domainnods
     60#define RIFTSOUTLINE  NULL,NULL,0
     61#define AREA          areain
     62/* serial output macros: */
     63#define INDEX             pindex,pnel
     64#define X                 px,pnods
     65#define Y                 py,pnods
     66#define SEGMENTS          NULL,NULL
     67#define SEGMENTMARKERLIST NULL,NULL
     68#endif
     69
     70
    5771/* serial arg counts: */
    5872#undef NLHS
Note: See TracChangeset for help on using the changeset viewer.