/[escript]/trunk/escript/src/LocalOps.h
ViewVC logotype

Log of /trunk/escript/src/LocalOps.h

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 4507)

Revision 2891 - (view) (annotate) - [select for diffs]
Modified Fri Jan 29 00:26:07 2010 UTC (9 years, 9 months ago) by caltinay
File length: 16832 byte(s)
Diff to previous 2884
Fix for ambiguous call to sqrt...


Revision 2884 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 05:00:59 2010 UTC (9 years, 9 months ago) by jfenwick
File length: 16831 byte(s)
Diff to previous 2881
Updated various nan checks to consider the windows _isnan

The default compiler flags have changed as well.
+ intel will now take -std=c99 instead of -ansi
+ gcc has -ansi removed which means it defaults to gnu99

We could have set gcc to -std=c99 as well but that gives a 
warning on g++ which gets converted into an error by our
pedantic warning.

Rationale:
We need something more than ansi to get proper nan handling.
- We currently don't have any code which does not comply with ansi
  but the nan checks don't work.

Impact:
If we want our code to still be able to compile on older compilers
(at reduced functionality) we need to be careful not to introduce other
c99-isms.
If we don't care, then it's time for some celebratory // comments.



Revision 2881 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 02:03:15 2010 UTC (9 years, 9 months ago) by jfenwick
File length: 16788 byte(s)
Diff to previous 2777
Don't panic.
Updating copyright stamps


Revision 2777 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 01:06:00 2009 UTC (9 years, 11 months ago) by jfenwick
File length: 16788 byte(s)
Diff to previous 2774
Added the LAZY_STACK_PROF #define for Lazy.
If enabled lazy will print the (roughly) maximum stack used by any openmp 
thread over the course of this session.


Revision 2774 - (view) (annotate) - [select for diffs]
Modified Wed Nov 25 04:24:03 2009 UTC (9 years, 11 months ago) by artak
File length: 16786 byte(s)
Diff to previous 2773
#ifndef changed to #ifdef in makeNaN

Revision 2773 - (view) (annotate) - [select for diffs]
Modified Wed Nov 25 04:02:01 2009 UTC (9 years, 11 months ago) by jfenwick
File length: 16787 byte(s)
Diff to previous 2766
Hadn't realised isnan was a macro.
Checking for it rather than FP_NAN


Revision 2766 - (view) (annotate) - [select for diffs]
Modified Mon Nov 23 05:10:53 2009 UTC (10 years ago) by jfenwick
File length: 16789 byte(s)
Diff to previous 2548
inf, sup and Lsup now correctly handle +-infinity.
They also will return NaN if any part of their input is NaN.

This will break unit tests since it exposes the hidden bug (#447 in mantis)

This code relies on the ability to test for NaNs.
To do this it makes use of macros and functions from C99.
If you do not have a C99 compiler, then you will probably get the old behaviour.
That is, you won't know when you have NaNs.


Also did minor tweak to saveDataCSV doco.

Revision 2548 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:20:06 2009 UTC (10 years, 4 months ago) by jfenwick
File length: 16224 byte(s)
Diff to previous 2521
Updating copyright notices

Revision 2521 - (view) (annotate) - [select for diffs]
Modified Tue Jul 7 00:08:58 2009 UTC (10 years, 4 months ago) by jfenwick
File length: 16224 byte(s)
Diff to previous 2019
Modified Lazy so that resolving a single sample uses the node cache method.
Fixed some doxygen problems.

Revision 2019 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 13:49:00 2008 UTC (11 years ago) by phornby
File length: 16005 byte(s)
Diff to previous 2005
Yet another concerted effort to handle missing macro arguments
in a portable way.



Revision 2005 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 01:21:39 2008 UTC (11 years ago) by jfenwick
File length: 15980 byte(s)
Diff to previous 1946
Bringing all changes across from schroedinger.
(Note this does not mean development is done, just that it will happen
on the trunk for now).
If anyone notices any problems please contact me.



Revision 1946 - (view) (annotate) - [select for diffs]
Modified Wed Oct 29 05:48:53 2008 UTC (11 years ago) by jfenwick
File length: 15802 byte(s)
Diff to previous 1811
A cleanup of some of the problems I found doing a Wall compile.

Removed some commented out lines.
Swapped some member initialisers.
Removed virtual qualifiers from some methods in FunctionSpace.
Fixed some unused or (possibly) uninitialised variables.



Revision 1811 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 23:11:13 2008 UTC (11 years, 1 month ago) by ksteube
File length: 15808 byte(s)
Diff to previous 1388
Copyright updated in all files


Revision 1388 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:58 2008 UTC (11 years, 10 months ago) by trankine
File length: 15843 byte(s)
Diff to previous 1387
And get the *(&(*&(* name right

Revision 1387 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:26 2008 UTC (11 years, 10 months ago) by trankine
Original Path: temp/escript/src/LocalOps.h
File length: 15843 byte(s)
Diff to previous 1384
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.

Revision 1384 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 02:29:38 2008 UTC (11 years, 10 months ago) by phornby
Original Path: temp_trunk_copy/escript/src/LocalOps.h
File length: 15843 byte(s)
Diff to previous 1334
Make a temp copy of the trunk before checking in the windows changes



Revision 1334 - (view) (annotate) - [select for diffs]
Modified Thu Oct 25 05:08:54 2007 UTC (12 years, 1 month ago) by matt
File length: 15843 byte(s)
Diff to previous 1327
Initial rewrite of escript unary operations. The rewritten operations are now single-pass.


Revision 1327 - (view) (annotate) - [select for diffs]
Modified Fri Oct 12 07:10:40 2007 UTC (12 years, 1 month ago) by matt
File length: 15582 byte(s)
Diff to previous 1312
Initial rewrite of binary escript operations.



Revision 1312 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 06:18:44 2007 UTC (12 years, 2 months ago) by ksteube
File length: 14739 byte(s)
Diff to previous 1020
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.


Revision 1020 - (view) (annotate) - [select for diffs]
Modified Mon Mar 12 10:12:36 2007 UTC (12 years, 8 months ago) by phornby
File length: 14873 byte(s)
Diff to previous 813
Added explicit destructors to all Exception classes.

Fixed an ifdef in TestCase.cpp

Made the conditional definition of M_PI in LocalOps.h
depend only on M_PI being undefined.

Replace dynamically dimensioned arrays in DataFactory & DataTagged with malloc.

sort() method of list does not take a named argument
(despite the manual's claims to the contary).



Revision 813 - (view) (annotate) - [select for diffs]
Modified Mon Aug 21 02:08:47 2006 UTC (13 years, 3 months ago) by ksteube
File length: 14845 byte(s)
Diff to previous 779
Tensor products for Data objects are now computed by a C++ method
C_GeneralTensorProduct, which calls C function matrix_matrix_product
to do the actual calculation.

Can perform product with either input transposed in place, meaning
without first computing the transpose in a separate step.


Revision 779 - (view) (annotate) - [select for diffs]
Modified Fri Jul 14 07:41:31 2006 UTC (13 years, 4 months ago) by woo409
File length: 13838 byte(s)
Diff to previous 757
+ Updated compilation options for Cognac to squeeze out a bit more performance
+ Now compiles using the Intel Math headers (mathimf.h) rather than plain math.h on both Win32 and Linux platforms when using the Intel compiler. Gives a small boost to performance on Altix and is essential on Windows



Revision 757 - (view) (annotate) - [select for diffs]
Modified Mon Jun 26 13:12:56 2006 UTC (13 years, 4 months ago) by woo409
File length: 13819 byte(s)
Diff to previous 615
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)


Revision 615 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 02:12:00 2006 UTC (13 years, 8 months ago) by elspeth
File length: 13722 byte(s)
Diff to previous 588
More copyright information.


Revision 588 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 04:45:04 2006 UTC (13 years, 8 months ago) by gross
File length: 14044 byte(s)
Diff to previous 587
1D and 3D tests for eigenvalues_and_eigenvector added.

Revision 587 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 02:26:50 2006 UTC (13 years, 8 months ago) by gross
File length: 14022 byte(s)
Diff to previous 585
eigenvalues_and_eigenvector fucntion added. test for 2D problem is added and is passed.

Revision 585 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 23:47:42 2006 UTC (13 years, 8 months ago) by gross
File length: 14018 byte(s)
Diff to previous 583
problem with eigenvalue of zero matrix fixed (thanks Dr Hale)

Revision 583 - (view) (annotate) - [select for diffs]
Modified Wed Mar 8 08:15:34 2006 UTC (13 years, 8 months ago) by gross
File length: 13882 byte(s)
Diff to previous 580
_eigenvalues_and_eigenvector method added of data object. the algorithm has been tested on floats in python but not on data objects.

Revision 580 - (view) (annotate) - [select for diffs]
Modified Wed Mar 8 05:45:51 2006 UTC (13 years, 8 months ago) by gross
File length: 3326 byte(s)
Diff to previous 576
faster version of the local eigenvalue calculation

Revision 576 - (view) (annotate) - [select for diffs]
Added Fri Mar 3 08:28:42 2006 UTC (13 years, 8 months ago) by gross
File length: 2317 byte(s)
some steps towards eigenvalue and eigenvector calculation

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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26