shell/ShellCopy.cpp File Reference

#include "header.h"
#include "OneToAllMsg.h"
#include "Shell.h"
#include "../scheduling/Clock.h"
Include dependency graph for ShellCopy.cpp:

Functions

ElementinnerCopyElements (Id orig, ObjId newParent, Id newId, unsigned int n, bool toGlobal, map< Id, Id > &tree)
void innerCopyMsgs (map< Id, Id > &tree, unsigned int n, bool copyExtMsgs)

Function Documentation

Element* innerCopyElements ( Id  orig,
ObjId  newParent,
Id  newId,
unsigned int  n,
bool  toGlobal,
map< Id, Id > &  tree 
)

Runs in parallel on all nodes. Note that 'n' is the number of complete duplicates. If there were 10 dataEntries in the original, there will now be 10 x n.

References Shell::adopt(), Neutral::children(), Element::cinfo(), Element::copyElement(), ObjId::dataIndex, Id::element(), Id::eref(), Element::id(), Clock::lookupDefaultTick(), Cinfo::name(), Id::nextId(), Element::numData(), Neutral::parent(), and Element::setTick().

Here is the call graph for this function:

void innerCopyMsgs ( map< Id, Id > &  tree,
unsigned int  n,
bool  copyExtMsgs 
)

Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1