24#ifndef ASLDATAWITHGHOSTNODES_H
25#define ASLDATAWITHGHOSTNODES_H
38 class AbstractDataWithGhostNodes:
public AbstractData
88 template <
typename V>
inline std::shared_ptr<DataWithGhostNodes<V>>
101 bordersDataAcces(
bDA)
111 AbstractDataWithGhostNodes (b,
nGN,
bDA),
135 int nD(b.getSize().getSize());
142 int nD(b.getSize().getSize());
149 dw.setContainer (
cont);
154 return dw.getContainer();
157 template <
typename V>
inline std::shared_ptr<DataWithGhostNodes<V>>
161 std::shared_ptr<DataWithGhostNodes<V>>
163 nd->setContainer(
d->getContainer());
The class represents several ElementData.
The class represents several Element.
AbstractDataWithGhostNodes(const Block &b, int nGN=1, bool bDA=true)
int getSubContainerOffset() const
const Block & getInternalBlock() const
unsigned int ghostBorder
num of cells within the border
const unsigned int getGhostBorder() const
AbstractDataWithGhostNodes()
unsigned int getSubContainerSize() const
virtual acl::VectorOfElements getSubContainer()=0
bool bordersDataAcces
flag represents whther the data acces on the borders is allowed
DataWithGhostNodes(DataWrapper< V > &d, int nGN=1)
virtual acl::VectorOfElements getSubContainer()
DataWithGhostNodes(const Block &b, int nGN=1, bool bDA=true)
void setContainer(const V &cont)
virtual const acl::VectorOfElements getEContainer()
virtual const acl::VectorOfElementsData getDContainer() const
Class defines a folding rule into a 1D/2D/3D bulk.
const unsigned int nD(const Block &b)
SPDataWrapperACLData generateDataContainerACL_SP(const Block &b, unsigned int n=1)
generates pointer to ACL Data field with n components
SPDataWithGhostNodesACLData clone(SPDataWithGhostNodesACLData d)
const Block offset(const Block &bl, int a=1)
Advanced Simulation Library.
DataWithGhostNodes< acl::VectorOfElementsData > DataWithGhostNodesACLData
std::shared_ptr< AbstractDataWithGhostNodes > SPAbstractDataWithGhostNodes
std::shared_ptr< DataWithGhostNodes< V > > resizeGhostNodes(std::shared_ptr< DataWithGhostNodes< V > > d, unsigned int newGN)
DataWithGhostNodes< acl::VectorOfElements > DataWithGhostNodesACL
std::shared_ptr< DataWithGhostNodesACL > SPDataWithGhostNodesACL
std::shared_ptr< DataWithGhostNodesACLData > SPDataWithGhostNodesACLData