Log of /branches/trilinos_from_5897/dudley/src/CPPAdapter/MeshAdapterFactory.cpp
Parent Directory
|
Revision Log
Revision
6079 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 21 12:22:38 2016 UTC
(2 years, 10 months ago)
by
caltinay
File length: 20409 byte(s)
Diff to
previous 6009
Big commit - making dudley much more like finley to make it more
managable. Fixed quite a few issues that had been fixed in finley.
Disposed of all ReducedNode/ReducedDOF entities that dudley never supported.
Compiles and passes tests.
Revision
2078 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 20 16:10:10 2008 UTC
(10 years, 3 months ago)
by
phornby
Original Path:
trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
File length: 32449 byte(s)
Diff to
previous 1990
Two changes.
1. Move blocktimer from escript to esysUtils.
2. Make it possible to link to paso as a DLL or .so.
Should have no effect on 'nix's
In respect of 1., blocktimer had begun to spring up everywhere, so
for the moment I thought it best to move it to the only other library that
pops up all over the place.
In respect of 2., paso needed to be a DLL in order to use the windows intelc /fast
option, which does aggressive multi-file optimisations. Even in its current form, it either
vectorises or parallelises hundreds more loops in the esys system than appear in the pragmas.
In achieving 2. I have not been too delicate in adding
PASO_DLL_API
declarations to the .h files in paso/src. Only toward the end of the process of
the conversion, when the number of linker errors dropped below 20, say, did I choosy about what
functions in a header I declared PASO_DLL_API. As a result, there are likely to be many routines
declared as external functions symbols that are in fact internal to the paso DLL.
Why is this an issue? It prevents the intelc compiler from getting aggressive on the paso module.
With pain there is sometimes gain. At least all the DLL rules in windows give good
(non-microsoft) compiler writers a chance to really shine.
So, if you should see a PASO_DLL_API on a function in a paso header file,
and think to yourself, "that function is only called in paso, why export it?", then feel free to
delete the PASO_DLL_API export declaration.
Here's hoping for no breakage.....
Revision
1990 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 7 04:19:07 2008 UTC
(10 years, 3 months ago)
by
ksteube
Original Path:
trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
File length: 32447 byte(s)
Diff to
previous 1872
Changes to avoid compiler warnings
Finley files now pass -Wall on gcc 4.3.2
saveVTK.c: replaced printf(string) with printf("%s", string)
MeshAdapterFactory.cpp: moved a few lines to avoid possible use of uninitialized vars
MeshAdapter.cpp: initialized ncdims in mesh dump
There is still a warning from a boost include file
Revision
1634 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 12 09:08:33 2008 UTC
(10 years, 7 months ago)
by
phornby
Original Path:
trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
File length: 33100 byte(s)
Diff to
previous 1628
linux_gcc_eg_options.py:
remove the std99 option, it is no longer needed as the code compiles without
C 1999 extension (need for these extensions elinminated in windows port).
Turn on all warnings except unknown pragmas. Should catch a lot of stuff.
SConstruct:
Impassioned plea
system_dep.h:
Add the standard incantation for dealing with const declarations
in C code called from C and C++
blocktimer:
Get the calling interface right for C code called from C and C++
and use __const as defined in system_dep.h
(Should be re-factored into compiler_dep.h file).
MeshAdapterFactory.cpp:
Since we have (effectively) no control over netCDF policy,
cast const char *'s to char *'s
Revision
1628 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 11 13:12:46 2008 UTC
(10 years, 7 months ago)
by
phornby
Original Path:
trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
File length: 32956 byte(s)
Diff to
previous 1388
Merge in /branches/windows_from_1456_trunk_1620_merged_in branch.
You will find a preserved pre-merge trunk in tags under tags/trunk_at_1625.
That will be useful for diffing & checking on my stupidity.
Here is a list of the conflicts and their resolution at this
point in time.
=================================================================================
(LLWS == looks like white space).
finley/src/Assemble_addToSystemMatrix.c - resolve to branch - unused var. may be wrong.....
finley/src/CPPAdapter/SystemMatrixAdapter.cpp - resolve to branch - LLWS
finley/src/CPPAdapter/MeshAdapter.cpp - resolve to branch - LLWS
paso/src/PCG.c - resolve to branch - unused var fixes.
paso/src/SolverFCT.c - resolve to branch - LLWS
paso/src/FGMRES.c - resolve to branch - LLWS
paso/src/Common.h - resolve to trunk version. It's omp.h's include... not sure it's needed,
but for the sake of saftey.....
paso/src/Functions.c - resolve to branch version, indentation/tab removal and return error
on bad unimplemented Paso_FunctionCall.
paso/src/SolverFCT_solve.c - resolve to branch version, unused vars
paso/src/SparseMatrix_MatrixVector.c - resolve to branch version, unused vars.
escript/src/Utils.cpp - resloved to branch, needs WinSock2.h
escript/src/DataExpanded.cpp - resolved to branch version - LLWS
escript/src/DataFactory.cpp - resolve to branch version
=================================================================================
This currently passes tests on linux (debian), but is not checked on windows or Altix yet.
This checkin is to make a trunk I can check out for windows to do tests on it.
Known outstanding problem is in the operator=() method of exceptions
causing warning messages on the intel compilers.
May the God of doughnuts have mercy on my soul.
Revision
1347 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 16 05:37:07 2007 UTC
(11 years, 3 months ago)
by
ksteube
Original Path:
trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
File length: 31498 byte(s)
Diff to
previous 1346
Completed mesh.dump(file) and mesh=LoadMesh(file) by adding TagMap and
implementing MPI parallelism.
Now allocating ElementFile for ContactElements even if there are none.
Removed file Mesh_dump.c since dump/loadMesh are in CPPAdapter/MeshAdapter*.cpp.
Revision
782 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 18 00:47:47 2006 UTC
(12 years, 7 months ago)
by
bcumming
Original Path:
trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
File length: 7901 byte(s)
Diff to
previous 759
Large number of changes to Finley for meshing in MPI.
- optimisation and neatening up of rectcanglular mesh generation code
- first and second order 1D, 2D and 3D rectangular meshes are now
available in finley and escript using MPI.
- reduced meshes now generated in MPI, and interpolation to and from
reduced data types now supported.
Revision
759 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 29 01:53:23 2006 UTC
(12 years, 7 months ago)
by
bcumming
Original Path:
trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
File length: 8195 byte(s)
Diff to
previous 757
- added directory pythonMPI to the source tree. this directory contains
the c++ wrapper that is used to run python scripts in parallel for the
MPI version of escript/finley
- updated the SConstruct and ./scons/ess_options.py for conditional MPI
compilation. To compile the MPI version on ESS uncomment the #define
PASO_MPI in ./paso/src/Paso.h and add the command line option
useMPI=yes when running scons.
- fixed a compile time error in the MPI build in
finley/src/CPPAdapter/MeshAdapterFactory.cpp
Revision
751 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 26 01:46:34 2006 UTC
(12 years, 7 months ago)
by
bcumming
Original Path:
trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
File length: 7969 byte(s)
Diff to
previous 480
Changes relating to the MPI version of escript
The standard OpenMP version of escript is unchanged
- updated data types (Finley_Mesh, Finley_NodeFile, etc) to store meshes
over multiple MPI processes.
- added CommBuffer code in Paso for communication of Data associated
with distributed meshes
- updates in Finley and Escript to support distributed data and operations
on distributed data (such as interpolation).
- construction of RHS in MPI, so that simple explicit schemes (such as
/docs/examples/wave.py without IO and the Locator) can run in MPI.
- updated mesh generation for first order line, rectangle and brick
meshes and second order line meshes in MPI.
- small changes to trunk/SConstruct and trunk/scons/ess_options.py to
build the MPI version, these changes are turned off by default.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.