/[escript]/trunk/finley/src/finley/SConscript
ViewVC logotype

Contents of /trunk/finley/src/finley/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 201 - (show annotations)
Wed Nov 23 04:10:21 2005 UTC (13 years, 6 months ago) by jgs
File size: 2884 byte(s)
copy finleyC and CPPAdapter to finley and finley/CPPAdapter to
facilitate scons builds

1 Import('*')
2
3 import os
4 import string
5
6 escript_path = str(esysroot) + '/escript/inc'
7 esysUtils_path = str(esysroot) + '/esysUtils/inc'
8 finley_path = str(esysroot) + '/finley/inc'
9 paso_path = str(esysroot) + '/paso/inc'
10
11 cpp_path = [escript_path,
12 esysUtils_path,
13 finley_path,
14 paso_path,
15 python_path,
16 boost_path]
17
18 sources = ['Assemble_addToSystemMatrix.c',
19 'Assemble_CopyElementData.c',
20 'Assemble_CopyNodalData.c',
21 'Assemble_getAssembleParameters.c',
22 'Assemble_getSize.c',
23 'Assemble_gradient.c',
24 'Assemble_handelShapeMissMatch.c',
25 'Assemble_integrate.c',
26 'Assemble_interpolate.c',
27 'Assemble_NodeCoordinates.c',
28 'Assemble_PDE.c',
29 'Assemble_PDEMatrix_Single2.c',
30 'Assemble_PDEMatrix_System2.c',
31 'Assemble_PDE_RHS.c',
32 'Assemble_RHSMatrix_Single.c',
33 'Assemble_RHSMatrix_System.c',
34 'Assemble_RobinCondition.c',
35 'Assemble_RobinCondition_RHS.c',
36 'Assemble_setNormal.c',
37 'ElementFile_allocTable.c',
38 'ElementFile.c',
39 'ElementFile_copyTable.c',
40 'ElementFile_gather.c',
41 'ElementFile_improveColoring.c',
42 'ElementFile_markNodes.c',
43 'ElementFile_optimizeDistribution.c',
44 'ElementFile_prepare.c',
45 'ElementFile_relableNodes.c',
46 'ElementFile_scatter.c',
47 'ElementFile_setNodeRange.c',
48 'Finley.c',
49 'IndexList.c',
50 'Mesh.c',
51 'Mesh_findMatchingFaces.c',
52 'Mesh_getPattern.c',
53 'Mesh_glueFaces.c',
54 'Mesh_hex20.c',
55 'Mesh_hex8.c',
56 'Mesh_joinFaces.c',
57 'Mesh_line2.c',
58 'Mesh_line3.c',
59 'Mesh_markNodes.c',
60 'Mesh_merge.c',
61 'Mesh_prepare.c',
62 'Mesh_prepareNodes.c',
63 'Mesh_print.c',
64 'Mesh_read.c',
65 'Mesh_rec4.c',
66 'Mesh_rec8.c',
67 'Mesh_relabelElementNodes.c',
68 'Mesh_resolveNodeIds.c',
69 'Mesh_saveDX.c',
70 'Mesh_saveVTK.c',
71 'Mesh_write.c',
72 'NodeFile_allocTable.c',
73 'NodeFile.c',
74 'NodeFile_copyTable.c',
75 'NodeFile_gatter.c',
76 'NodeFile_scatter.c',
77 'NodeFile_setCoordinates.c',
78 'NodeFile_setIdRange.c',
79 'Quadrature.c',
80 'ReferenceElements.c',
81 'ShapeFunctions.c',
82 'Util.c']
83
84 finleyC_env = Environment(ENV = os.environ)
85
86 finleyC_env.Replace(CC = 'icc')
87 finleyC_env.Replace(CCFLAGS = cc_flags)
88 finleyC_env.Replace(SHOBJSUFFIX = '.lo')
89 finleyC_env.Replace(CPPPATH = cpp_path)
90
91 finleyC_env.BuildDir(objdir,finleyC_srcdir)
92
93 finleyC_objs = finleyC_env.SharedObject(sources)

  ViewVC Help
Powered by ViewVC 1.1.26