/[escript]
ViewVC logotype

Revision 4687


Jump to revision: Previous Next
Author: jfenwick
Date: Wed Feb 19 00:03:29 2014 UTC (4 years, 10 months ago)
Changed paths: 29
Log Message:
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.




Changed paths

Path Details
Directorytrunk/dudley/src/CPPAdapter/MeshAdapter.cpp modified , text changed
Directorytrunk/dudley/src/CPPAdapter/MeshAdapter.h modified , text changed
Directorytrunk/dudley/test/python/run_escriptOnDudley.py modified , text changed
Directorytrunk/escriptcore/src/AbstractDomain.cpp modified , text changed
Directorytrunk/escriptcore/src/AbstractDomain.h modified , text changed
Directorytrunk/escriptcore/src/Data.cpp modified , text changed
Directorytrunk/escriptcore/src/Data.h modified , text changed
Directorytrunk/escriptcore/src/DataExpanded.cpp modified , text changed
Directorytrunk/escriptcore/src/DataExpanded.h modified , text changed
Directorytrunk/escriptcore/src/NullDomain.cpp modified , text changed
Directorytrunk/escriptcore/src/NullDomain.h modified , text changed
Directorytrunk/escriptcore/src/TestDomain.cpp modified , text changed
Directorytrunk/escriptcore/src/TestDomain.h modified , text changed
Directorytrunk/escriptcore/test/python/test_objects.py modified , text changed
Directorytrunk/finley/src/CPPAdapter/MeshAdapter.cpp modified , text changed
Directorytrunk/finley/src/CPPAdapter/MeshAdapter.h modified , text changed
Directorytrunk/finley/test/python/run_escriptOnFinley.py modified , text changed
Directorytrunk/ripley/src/Brick.cpp modified , text changed
Directorytrunk/ripley/src/Brick.h modified , text changed
Directorytrunk/ripley/src/Rectangle.cpp modified , text changed
Directorytrunk/ripley/src/Rectangle.h modified , text changed
Directorytrunk/ripley/src/RipleyDomain.cpp modified , text changed
Directorytrunk/ripley/src/SConscript modified , text changed
Directorytrunk/ripley/src/blocktools.cpp modified , text changed
Directorytrunk/ripley/src/blocktools.h modified , text changed
Directorytrunk/ripley/src/blocktools2.cpp added
Directorytrunk/ripley/src/ripleycpp.cpp modified , text changed
Directorytrunk/ripley/test/python/run_escriptOnRipley.py modified , text changed
Directorytrunk/scons/badger_options.py modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.26