MADNESS
version 0.9
|
Implements derivatives operators with variety of boundary conditions on simulation domain. More...
#include <derivative.h>
Public Types | |
typedef Tensor< T > | tensorT |
typedef GenTensor< T > | coeffT |
typedef Key< NDIM > | keyT |
typedef std::pair< keyT, coeffT > | argT |
typedef FunctionImpl< T, NDIM > | implT |
typedef Function< T, NDIM > | functionT |
typedef WorldContainer< Key < NDIM >, FunctionNode< T, NDIM > > | dcT |
typedef FunctionNode< T, NDIM > | nodeT |
typedef T | opT |
Public Types inherited from madness::DerivativeBase< T, NDIM > | |
typedef Tensor< T > | tensorT |
typedef GenTensor< T > | coeffT |
typedef Key< NDIM > | keyT |
typedef std::pair< keyT, coeffT > | argT |
typedef FunctionImpl< T, NDIM > | implT |
typedef Function< T, NDIM > | functionT |
typedef WorldContainer< Key < NDIM >, FunctionNode< T, NDIM > > | dcT |
typedef FunctionNode< T, NDIM > | nodeT |
Public Member Functions | |
Derivative (World &world, std::size_t axis, const BoundaryConditions< NDIM > &bc=FunctionDefaults< NDIM >::get_bc(), const functionT g1=functionT(), const functionT g2=functionT(), int k=FunctionDefaults< NDIM >::get_k()) | |
Constructs a derivative operator. More... | |
virtual | ~Derivative () |
Public Member Functions inherited from madness::DerivativeBase< T, NDIM > | |
DerivativeBase (World &world, std::size_t axis, int k, BoundaryConditions< NDIM > bc) | |
virtual | ~DerivativeBase () |
Void | forward_do_diff1 (const implT *f, implT *df, const keyT &key, const argT &left, const argT ¢er, const argT &right) const |
Void | do_diff1 (const implT *f, implT *df, const keyT &key, const argT &left, const argT ¢er, const argT &right) const |
Function< T, NDIM > | operator() (const functionT &f, bool fence=true) const |
Differentiate w.r.t. given coordinate (x=0, y=1, ...) with optional fence. More... | |
Key< NDIM > | neighbor (const keyT &key, int step) const |
Future< argT > | find_neighbor (const implT *f, const Key< NDIM > &key, int step) const |
template<typename Archive > | |
void | serialize (const Archive &ar) const |
Public Member Functions inherited from madness::WorldObject< DerivativeBase< T, NDIM > > | |
WorldObject (World &world) | |
Associates object with globally unique ID. More... | |
const uniqueidT & | id () const |
Returns the globally unique object ID. More... | |
World & | get_world () const |
Returns a reference to the world. More... | |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const a8T &a8) const |
detail::task_result_type < memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const a8T &a8, const a9T &a9) const |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2,a3,a4,a5,a6,a7,a8,a9)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2,a3)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2,a3,a4)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2,a3,a4,a5)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2,a3,a4,a5,a6)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2,a3,a4,a5,a6,a7)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const a8T &a8, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2,a3,a4,a5,a6,a7,a8)". More... | |
detail::task_result_type < memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const a8T &a8, const a9T &a9, const TaskAttributes &attr=TaskAttributes()) const |
Sends task to derived class method "returnT (this->*memfn)(a1,a2,a3,a4,a5,a6,a7,a8,a9)". More... | |
virtual | ~WorldObject () |
Additional Inherited Members | |
Static Public Member Functions inherited from madness::DerivativeBase< T, NDIM > | |
static bool | enforce_bc (int bc_left, int bc_right, Level n, Translation &l) |
Public Attributes inherited from madness::WorldObject< DerivativeBase< T, NDIM > > | |
World & | world |
Think globally act locally. More... | |
Protected Member Functions inherited from madness::WorldObject< DerivativeBase< T, NDIM > > | |
void | process_pending () |
To be called from derived constructor to process pending messages. More... | |
Protected Attributes inherited from madness::DerivativeBase< T, NDIM > | |
World & | world |
const std::size_t | axis |
const int | k |
const BoundaryConditions< NDIM > | bc |
const std::vector< long > | vk |
(k,...) used to initialize Tensors More... | |
Implements derivatives operators with variety of boundary conditions on simulation domain.
typedef std::pair<keyT,coeffT> madness::Derivative< T, NDIM >::argT |
typedef GenTensor<T> madness::Derivative< T, NDIM >::coeffT |
typedef WorldContainer< Key<NDIM> , FunctionNode<T, NDIM> > madness::Derivative< T, NDIM >::dcT |
typedef Function<T,NDIM> madness::Derivative< T, NDIM >::functionT |
typedef FunctionImpl<T,NDIM> madness::Derivative< T, NDIM >::implT |
typedef Key<NDIM> madness::Derivative< T, NDIM >::keyT |
typedef FunctionNode<T,NDIM> madness::Derivative< T, NDIM >::nodeT |
typedef T madness::Derivative< T, NDIM >::opT |
typedef Tensor<T> madness::Derivative< T, NDIM >::tensorT |
|
inline |
Constructs a derivative operator.
world | The world |
axis | The direction to differentiate |
bc | Boundary conditions (default from FunctionDefaults) |
g1 | Function providing left boundary value (default empty) |
g2 | Function providing right boundary value (default empty) |
k | Wavelet order (default from FunctionDefaults) |
References NDIM, madness::WorldObject< DerivativeBase< T, NDIM > >::process_pending(), and madness::Function< T, NDIM >::reconstruct().
|
inlinevirtual |