/[escript]/branches/subworld2/escriptcore/src/AbstractDomain.cpp
ViewVC logotype

Log of /branches/subworld2/escriptcore/src/AbstractDomain.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 5504 - (view) (annotate) - [select for diffs]
Modified Wed Mar 4 22:58:13 2015 UTC (4 years, 1 month ago) by jfenwick
File length: 1770 byte(s)
Diff to previous 5470
Again with a more up to date copy



Revision 5470 - (view) (annotate) - [select for diffs]
Modified Mon Feb 16 04:23:17 2015 UTC (4 years, 2 months ago) by jfenwick
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 1770 byte(s)
Diff to previous 5448
Fix some more. Make savanna warnings into errors.

Revision 5448 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 05:31:37 2015 UTC (4 years, 2 months ago) by jfenwick
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 1718 byte(s)
Diff to previous 5121
Updating all the dates

Revision 5121 - (view) (annotate) - [select for diffs]
Modified Wed Aug 20 10:32:40 2014 UTC (4 years, 8 months ago) by caltinay
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 1718 byte(s)
Diff to previous 4687
Made more methods pure virtual in AbstractDomain and moved the generic
implementation into NullDomain.
Made TestDomain derive from NullDomain to inherit the methods.


Revision 4687 - (view) (annotate) - [select for diffs]
Modified Wed Feb 19 00:03:29 2014 UTC (5 years, 2 months ago) by jfenwick
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 8140 byte(s)
Diff to previous 4657
Remove randomFill python method from ripley domains.
All random data objects (for all domain types) should be generated 
using esys.escript.RandomData()

The only filtered random we have is gaussian on ripley but
it is triggered by passing the tuple as the last arg of RandomData().

While the interface is a bit more complicated (in that you always need
 to pass in shape and functionspace) it does mean we have a 
common interface for all domains. 

Removed randomFill from DataExpanded.
The reasoning behind this is to force domains to call the util function
themselves and enforce whatever consistancy requirements they have.

Added version of blocktools to deal with 2D case in Ripley.
Use blocktools for the 2D transfers [This was cleaner than modifying the
previous implementation to deal with variable shaped points].

Note that under MPI, ripley can not generate random data (even unfiltered)
if any of its per rank dimensions is <4 elements on any side.

Unit tests for these calls are in but some extra checks still needed.




Revision 4657 - (view) (annotate) - [select for diffs]
Modified Thu Feb 6 06:12:20 2014 UTC (5 years, 2 months ago) by jfenwick
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 7952 byte(s)
Diff to previous 4543
I changed some files.
Updated copyright notices, added GeoComp.




Revision 4543 - (view) (annotate) - [select for diffs]
Modified Thu Nov 28 03:42:10 2013 UTC (5 years, 4 months ago) by gross
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 7884 byte(s)
Diff to previous 4542
missing retirn statement added

Revision 4542 - (view) (annotate) - [select for diffs]
Modified Thu Nov 28 01:33:22 2013 UTC (5 years, 4 months ago) by jfenwick
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 7866 byte(s)
Diff to previous 4521
Moving to new icc and associated modules.




Revision 4521 - (view) (annotate) - [select for diffs]
Modified Mon Aug 26 11:51:30 2013 UTC (5 years, 7 months ago) by jfenwick
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 7877 byte(s)
Diff to previous 4507
Remove bool_t
Part of random.



Revision 4507 - (view) (annotate) - [select for diffs]
Modified Wed Jul 24 02:50:22 2013 UTC (5 years, 8 months ago) by jfenwick
Original Path: trunk/escriptcore/src/AbstractDomain.cpp
File length: 7607 byte(s)
Diff to previous 4285
It begins

Revision 4285 - (view) (annotate) - [select for diffs]
Modified Thu Mar 7 01:08:43 2013 UTC (6 years, 1 month ago) by caltinay
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7607 byte(s)
Diff to previous 4255
Corrected some spelling.


Revision 4255 - (view) (annotate) - [select for diffs]
Modified Wed Feb 27 03:06:21 2013 UTC (6 years, 1 month ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7606 byte(s)
Diff to previous 4154
Hopefully, this will address the interpolation problems.

New canInterpolate() function exposed to python which calls probeInterpolation

AbstractDomain now has an additional virtual.
preferredIntrpolationOnDomain()

This will return 0 if interpolation is impossible, 1 if possible and preferred.
It will return -1 if interpolation is possible and preferred in the 
oposite direction.

A value of -1 does not say that the proposed interpolation is possible or not.
Rather it indicates "please use the other way".
If you really _need_ to test it that way, use probeInterpolationOnDomain 



Revision 4154 - (view) (annotate) - [select for diffs]
Modified Tue Jan 22 09:30:23 2013 UTC (6 years, 2 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7385 byte(s)
Diff to previous 4114
Round 1 of copyright fixes

Revision 4114 - (view) (annotate) - [select for diffs]
Modified Fri Dec 14 04:24:46 2012 UTC (6 years, 4 months ago) by caltinay
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7385 byte(s)
Diff to previous 3981
Time to remove deprecated saveVTK/DX methods from Data and Domain.


Revision 3981 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 02:47:54 2012 UTC (6 years, 7 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7776 byte(s)
Diff to previous 3919
First pass of updating copyright notices

Revision 3919 - (view) (annotate) - [select for diffs]
Modified Thu Jul 5 03:12:02 2012 UTC (6 years, 9 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7657 byte(s)
Diff to previous 3911
Don't know what caused this to show as an error.
Compiler update perhaps?




Revision 3911 - (view) (annotate) - [select for diffs]
Modified Thu Jun 14 01:01:03 2012 UTC (6 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7661 byte(s)
Diff to previous 3259
Copyright changes

Revision 3259 - (view) (annotate) - [select for diffs]
Modified Mon Oct 11 01:48:14 2010 UTC (8 years, 6 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7661 byte(s)
Diff to previous 2881
Merging dudley and scons updates from branches


Revision 2881 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 02:03:15 2010 UTC (9 years, 2 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7525 byte(s)
Diff to previous 2856
Don't panic.
Updating copyright stamps


Revision 2856 - (view) (annotate) - [select for diffs]
Modified Mon Jan 18 04:14:37 2010 UTC (9 years, 3 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7525 byte(s)
Diff to previous 2642
FunctionSpaces provide now some information about their approximation order.

Revision 2642 - (view) (annotate) - [select for diffs]
Modified Tue Sep 1 04:15:50 2009 UTC (9 years, 7 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7353 byte(s)
Diff to previous 2640
pre cleanup

Revision 2640 - (view) (annotate) - [select for diffs]
Modified Mon Aug 31 06:22:10 2009 UTC (9 years, 7 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7215 byte(s)
Diff to previous 2635
Adding getMPIComm


Revision 2635 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 04:54:41 2009 UTC (9 years, 7 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 7033 byte(s)
Diff to previous 2548
A bunch of changes related to saveDataCSV.
[Not completed or unit tested yet]

Added saveDataCSV to util.py
AbstractDomain (and MeshAdapter) have a commonFunctionSpace method to 
take a group of FunctionSpaces and return something they can all be interpolated to.

Added pointToStream() in DataTypes to help print points.

added actsConstant() to data - required because DataConstant doesn't store samples the same way other Data do.

Revision 2548 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:20:06 2009 UTC (9 years, 9 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6854 byte(s)
Diff to previous 2533
Updating copyright notices

Revision 2533 - (view) (annotate) - [select for diffs]
Modified Wed Jul 15 05:57:01 2009 UTC (9 years, 9 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6854 byte(s)
Diff to previous 2487
finley delivers now a status identifier of the mesh.

Revision 2487 - (view) (annotate) - [select for diffs]
Modified Tue Jun 23 04:26:07 2009 UTC (9 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6910 byte(s)
Diff to previous 2455
Fixed const-ness on some return values.
Null-Domain now reports tag one as being in use.

Revision 2455 - (view) (annotate) - [select for diffs]
Modified Wed Jun 3 03:29:07 2009 UTC (9 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6897 byte(s)
Diff to previous 2436
Merging changes from numpy branch.


Revision 2436 - (view) (annotate) - [select for diffs]
Modified Mon May 25 05:05:00 2009 UTC (9 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6898 byte(s)
Diff to previous 2421
A fix for escript not compiling on boost 1.39.


Revision 2421 - (view) (annotate) - [select for diffs]
Modified Thu May 14 02:29:06 2009 UTC (9 years, 11 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6782 byte(s)
Diff to previous 2256
vtk writer supports now meta data and meta data schema

Revision 2256 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 06:20:32 2009 UTC (10 years, 2 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6717 byte(s)
Diff to previous 1877
Throw an exception if AbstractDomain::MPIBarrier is called (This shouldn't happen).
Added Barrier to saveVTK.
Replaced some misused keywords.


Revision 1877 - (view) (annotate) - [select for diffs]
Modified Tue Oct 14 02:58:39 2008 UTC (10 years, 6 months ago) by ksteube
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6676 byte(s)
Diff to previous 1872
convection.py checkpointing uses mkdir/rmdir, and under MPI there
was a race condition.

mkdir needs to be run on only one CPU and then a barrier to prevent
working processors from using the directory before it exists.

Added methods domain.MPIBarrier and domain.onMasterProcessor() to
implement this technique.

A more general solution might be possible in the future.


Revision 1872 - (view) (annotate) - [select for diffs]
Modified Mon Oct 13 00:18:55 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6553 byte(s)
Diff to previous 1811
Closing the moreshared branch


Revision 1811 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 23:11:13 2008 UTC (10 years, 6 months ago) by ksteube
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6222 byte(s)
Diff to previous 1802
Copyright updated in all files


Revision 1802 - (view) (annotate) - [select for diffs]
Modified Tue Sep 23 01:03:29 2008 UTC (10 years, 7 months ago) by jfenwick
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6257 byte(s)
Diff to previous 1801
Added canTag methods to FunctionSpace and AbstractDomain (and its 
offspring).
This checks to see if the domain supports tags for the given type of 
function space.

Constructors for DataTagged now throw exceptions if you attempt to make 
a DataTagged with a FunctionSpace which does not support tags.
To allow the default constructor to work, NullDomain has a single 
functioncode which "supports" tagging.

Fixed a bug in DataTagged::toString and DataTypes::pointToString.

Added FunctionSpace::getListOfTagsSTL.

algorithm(DataTagged, BinaryFunction) in DataAlgorithm now only 
processes tags known to be in use.
This fixes mantis issue #0000186.

Added comment to Data.h intro warning about holding references if the 
underlying DataAbstract changes.

_python_ unit tests have been updated to test TaggedData with invalid 
FunctionSpaces and to give the correct answers to Lsup etc.



Revision 1801 - (view) (annotate) - [select for diffs]
Modified Fri Sep 19 01:37:09 2008 UTC (10 years, 7 months ago) by ksteube
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6109 byte(s)
Diff to previous 1800
Fixed serialization of I/O for MPI...code didn't compile without MPI


Revision 1800 - (view) (annotate) - [select for diffs]
Modified Thu Sep 18 05:28:20 2008 UTC (10 years, 7 months ago) by ksteube
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6170 byte(s)
Diff to previous 1716
Serialized parallel I/O when writing mesh or data to NetCDF file on multiple MPI processors.
Added domain method getMPIComm() to complement getMPISize() and getMPIRank().


Revision 1716 - (view) (annotate) - [select for diffs]
Modified Thu Aug 21 05:03:49 2008 UTC (10 years, 8 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 6082 byte(s)
Diff to previous 1388
getListOfTags method added to FunctionSpace class

Revision 1388 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:58 2008 UTC (11 years, 3 months ago) by trankine
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5728 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, 3 months ago) by trankine
Original Path: temp/escript/src/AbstractDomain.cpp
File length: 5728 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, 3 months ago) by phornby
Original Path: temp_trunk_copy/escript/src/AbstractDomain.cpp
File length: 5728 byte(s)
Diff to previous 1312
Make a temp copy of the trunk before checking in the windows changes



Revision 1312 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 06:18:44 2007 UTC (11 years, 6 months ago) by ksteube
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5728 byte(s)
Diff to previous 1137
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 1137 - (view) (annotate) - [select for diffs]
Modified Thu May 10 08:11:31 2007 UTC (11 years, 11 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5738 byte(s)
Diff to previous 1044
This version passes the tests on windows except for 

   * vtk
   * netCDF

The version needs to be tested on altix and linux

Revision 1044 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 07:29:31 2007 UTC (12 years, 1 month ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5625 byte(s)
Diff to previous 964
clear name tagging is supported now.

Revision 964 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 05:10:26 2007 UTC (12 years, 2 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5093 byte(s)
Diff to previous 797
The set/getRefVal functions of Data objects have been removed (mainly to avoid later problems with MPI).
Moreover, a faster access to the reference id of samples has been introduced. I don't think that anybody will
profit form this at this stage but it will allow a faster dump of data objects.



Revision 797 - (view) (annotate) - [select for diffs]
Modified Thu Aug 3 02:03:18 2006 UTC (12 years, 8 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5110 byte(s)
Diff to previous 767
function added to manually free unused memory in the memory manager

Revision 767 - (view) (annotate) - [select for diffs]
Modified Fri Jun 30 07:29:08 2006 UTC (12 years, 9 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5041 byte(s)
Diff to previous 615
new FunctionSpace method setTags added

Revision 615 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 02:12:00 2006 UTC (13 years, 1 month ago) by elspeth
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 4864 byte(s)
Diff to previous 547
More copyright information.


Revision 547 - (view) (annotate) - [select for diffs]
Modified Tue Feb 21 06:10:54 2006 UTC (13 years, 2 months ago) by gross
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5186 byte(s)
Diff to previous 480
solution and reduced solution can have reference numbers now!

Revision 480 - (view) (annotate) - [select for diffs]
Modified Wed Feb 1 05:15:12 2006 UTC (13 years, 2 months ago) by jgs
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5531 byte(s)
Diff to previous 474
rationalise #includes and forward declarations


Revision 474 - (view) (annotate) - [select for diffs]
Modified Mon Jan 30 04:23:44 2006 UTC (13 years, 2 months ago) by jgs
Original Path: trunk/escript/src/AbstractDomain.cpp
File length: 5508 byte(s)
Copied from: trunk/escript/src/Data/AbstractDomain.cpp revision 469
Diff to previous 155
restructure escript source tree
move src/Data/* -> src
remove inc
modify #includes and cpppath settings accordingly


Revision 155 - (view) (annotate) - [select for diffs]
Modified Wed Nov 9 02:02:19 2005 UTC (13 years, 5 months ago) by jgs
Original Path: trunk/escript/src/Data/AbstractDomain.cpp
File length: 5560 byte(s)
Diff to previous 153
move all directories from trunk/esys2 into trunk and remove esys2


Revision 153 - (view) (annotate) - [select for diffs]
Modified Tue Oct 25 01:51:20 2005 UTC (13 years, 5 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 5560 byte(s)
Diff to previous 149
Merge of development branch dev-02 back to main trunk on 2005-10-25


Revision 149 - (view) (annotate) - [select for diffs]
Modified Thu Sep 1 03:31:39 2005 UTC (13 years, 7 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 5546 byte(s)
Diff to previous 121
Merge of development branch dev-02 back to main trunk on 2005-09-01


Revision 121 - (view) (annotate) - [select for diffs]
Modified Fri May 6 04:26:16 2005 UTC (13 years, 11 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 5681 byte(s)
Diff to previous 115
Merge of development branch back to main trunk on 2005-05-06


Revision 115 - (view) (annotate) - [select for diffs]
Modified Fri Mar 4 07:12:47 2005 UTC (14 years, 1 month ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 5572 byte(s)
Diff to previous 110
*** empty log message ***


Revision 110 - (view) (annotate) - [select for diffs]
Modified Mon Feb 14 04:14:42 2005 UTC (14 years, 2 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 5574 byte(s)
Diff to previous 102
*** empty log message ***


Revision 102 - (view) (annotate) - [select for diffs]
Modified Wed Dec 15 07:08:39 2004 UTC (14 years, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 5054 byte(s)
Diff to previous 100
*** empty log message ***


Revision 100 - (view) (annotate) - [select for diffs]
Modified Wed Dec 15 03:48:48 2004 UTC (14 years, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 4684 byte(s)
Diff to previous 97
*** empty log message ***


Revision 97 - (view) (annotate) - [select for diffs]
Modified Tue Dec 14 05:39:33 2004 UTC (14 years, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 5054 byte(s)
Diff to previous 82
*** empty log message ***


Revision 82 - (view) (annotate) - [select for diffs]
Added Tue Oct 26 06:53:54 2004 UTC (14 years, 5 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/AbstractDomain.cpp
File length: 4684 byte(s)
Initial revision


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