speckley/src/SpeckleyDomain.h
Go to the documentation of this file.
/*****************************************************************************
*
* Copyright (c) 2003-2017 by The University of Queensland
* http://www.uq.edu.au
*
* Primary Business: Queensland, Australia
* Licensed under the Apache License, version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Development until 2012 by Earth Systems Science Computational Center (ESSCC)
* Development 2012-2013 by School of Earth Sciences
* Development from 2014 by Centre for Geoscience Computing (GeoComp)
*
*****************************************************************************/
#ifndef __Speckley_DOMAIN_H__
#define __Speckley_DOMAIN_H__
#include <speckley/Speckley.h>
#include <speckley/SpeckleyException.h>
#include <speckley/AbstractAssembler.h>
#include <speckley/domainhelpers.h>
#include <escript/AbstractContinuousDomain.h>
#include <escript/Data.h>
#include <escript/FunctionSpace.h>
#include <escript/SubWorld.h>
#include <boost/python/tuple.hpp>
#include <boost/python/list.hpp>
namespace speckley {
enum assembler_t {
DEFAULT_ASSEMBLER
};
/* There is no particular significance to this type,
It is here as a typedef because a bug in clang++ prevents
that compiler from recognising it as a valid part of
a constant expression.
*/
typedef std::map<std::string, int> simap_t;
struct ReaderParameters
{
std::vector<dim_t> first;
std::vector<dim_t> numValues;
std::vector<int> multiplier;
std::vector<int> reverse;
int byteOrder;
int dataType;
};
struct DiracPoint
{
dim_t node;
int tag;
};
class Speckley_DLL_API SpeckleyDomain : public escript::AbstractContinuousDomain
{
public:
SpeckleyDomain(dim_t dim, int order, escript::SubWorld_ptr p=escript::SubWorld_ptr());
~SpeckleyDomain();
virtual escript::JMPI getMPI() const { return m_mpiInfo; }
virtual int getMPISize() const { return m_mpiInfo->size; }
virtual int getMPIRank() const { return m_mpiInfo->rank; }
virtual void MPIBarrier() const {
#ifdef ESYS_MPI
MPI_Barrier(m_mpiInfo->comm);
#endif
}
virtual bool onMasterProcessor() const { return getMPIRank()==0; }
MPI_Comm getMPIComm() const { return m_mpiInfo->comm; }
virtual bool isValidFunctionSpaceType(int fsType) const;
virtual std::string functionSpaceTypeAsString(int fsType) const;
virtual int getDim() const { return m_numDim; }
virtual bool operator==(const escript::AbstractDomain& other) const;
virtual bool operator!=(const escript::AbstractDomain& other) const {
return !(operator==(other));
}
virtual std::pair<int,dim_t> getDataShape(int fsType) const;
int getTagFromSampleNo(int fsType, dim_t sampleNo) const;
virtual void setTagMap(const std::string& name, int tag) {
m_tagMap[name] = tag;
}
virtual int getTag(const std::string& name) const {
if (m_tagMap.find(name) != m_tagMap.end()) {
return m_tagMap.find(name)->second;
} else {
throw SpeckleyException("getTag: invalid tag name");
}
}
virtual bool isValidTagName(const std::string& name) const {
return (m_tagMap.find(name)!=m_tagMap.end());
}
virtual std::string showTagNames() const;
virtual void setNewX(const escript::Data& arg);
virtual void interpolateOnDomain(escript::Data& target,
const escript::Data& source) const;
virtual bool probeInterpolationOnDomain(int fsType_source,
int fsType_target) const;
virtual signed char preferredInterpolationOnDomain(int fsType_source,
int fsType_target) const;
bool
commonFunctionSpace(const std::vector<int>& fs, int& resultcode) const;
virtual void interpolateAcross(escript::Data& target,
const escript::Data& source) const = 0;
virtual bool probeInterpolationAcross(int, const escript::AbstractDomain&,
int) const = 0;
virtual escript::Data getX() const;
virtual escript::Data getNormal() const;
virtual escript::Data getSize() const;
virtual void setToX(escript::Data& arg) const;
virtual void setToGradient(escript::Data& out,
const escript::Data& in) const;
virtual void setTags(int fsType, int newTag, const escript::Data& mask) const;
virtual bool isCellOriented(int fsType) const;
virtual StatusType getStatus() const { return m_status; }
virtual int getNumberOfTagsInUse(int fsType) const;
virtual const int* borrowListOfTagsInUse(int fsType) const;
virtual bool canTag(int fsType) const;
virtual int getApproximationOrder(int fsType) const { return 1; }
virtual bool supportsContactElements() const { return false; }
virtual int getContinuousFunctionCode() const { return Nodes; }
virtual int getReducedContinuousFunctionCode() const {
throw SpeckleyException("Speckley does not support reduced functionspaces");
}
virtual int getFunctionCode() const { return Elements; }
virtual int getReducedFunctionCode() const {
return ReducedElements;
}
virtual int getFunctionOnBoundaryCode() const {
throw SpeckleyException("Speckley does not support face elements");
}
virtual int getReducedFunctionOnBoundaryCode() const {
throw SpeckleyException("Speckley does not support face elements");
}
virtual int getFunctionOnContactZeroCode() const {
throw SpeckleyException("Speckley does not support contact elements");
}
virtual int getReducedFunctionOnContactZeroCode() const {
throw SpeckleyException("Speckley does not support contact elements");
}
virtual int getFunctionOnContactOneCode() const {
throw SpeckleyException("Speckley does not support contact elements");
}
virtual int getReducedFunctionOnContactOneCode() const {
throw SpeckleyException("Speckley does not support contact elements");
}
virtual int getSolutionCode() const {
return DegreesOfFreedom;
}
virtual int getReducedSolutionCode() const {
throw SpeckleyException("Speckley does not support reduced function spaces");
}
virtual int getDiracDeltaFunctionsCode() const { return Points; }
virtual int getSystemMatrixTypeId(const boost::python::object& options) const;
virtual int getTransportTypeId(int solver, int preconditioner, int package,
bool symmetry) const;
virtual void setToIntegrals(std::vector<real_t>& integrals,
const escript::Data& arg) const;
virtual void setToIntegrals(std::vector<cplx_t>& integrals,
const escript::Data& arg) const;
virtual void addToSystem(escript::AbstractSystemMatrix& mat,
escript::Data& rhs, const DataMap& data,
Assembler_ptr assembler) const;
virtual void addToSystemFromPython(escript::AbstractSystemMatrix& mat,
escript::Data& rhs, const boost::python::list& data,
Assembler_ptr assembler) const;
virtual void addToRHS(escript::Data& rhs, const DataMap& data,
Assembler_ptr assembler) const;
virtual void addToRHSFromPython(escript::Data& rhs,
const boost::python::list& data,
Assembler_ptr assembler) const;
using escript::AbstractContinuousDomain::addPDEToTransportProblem;
virtual void addPDEToTransportProblem(escript::AbstractTransportProblem& tp,
escript::Data& source, const DataMap& data,
Assembler_ptr assembler) const;
void addPDEToTransportProblemFromPython(
escript::AbstractTransportProblem& tp,
escript::Data& source, const boost::python::list& data,
Assembler_ptr assembler) const;
virtual escript::ASM_ptr newSystemMatrix(int row_blocksize,
const escript::FunctionSpace& row_functionspace,
int column_blocksize,
const escript::FunctionSpace& column_functionspace, int type) const;
virtual escript::ATP_ptr newTransportProblem(int blocksize,
const escript::FunctionSpace& functionspace,
int type) const;
virtual void Print_Mesh_Info(bool full=false) const;
/************************************************************************/
virtual void write(const std::string& filename) const = 0;
virtual std::string getDescription() const = 0;
void dump(const std::string& filename) const = 0;
const index_t* borrowSampleReferenceIDs(int fsType) const = 0;
virtual void setToNormal(escript::Data& out) const = 0;
virtual void setToSize(escript::Data& out) const = 0;
virtual void readNcGrid(escript::Data& out, std::string filename,
std::string varname, const ReaderParameters& params) const = 0;
virtual void readBinaryGrid(escript::Data& out, std::string filename,
const ReaderParameters& params) const = 0;
virtual void readBinaryGridFromZipped(escript::Data& out,
std::string filename, const ReaderParameters& params) const = 0;
virtual void writeBinaryGrid(const escript::Data& in, std::string filename,
int byteOrder, int dataType) const = 0;
virtual bool ownSample(int fsType, index_t id) const = 0;
virtual dim_t getNumDataPointsGlobal() const = 0;
virtual const dim_t* getNumNodesPerDim() const = 0;
virtual const dim_t* getNumElementsPerDim() const = 0;
virtual const dim_t* getNumFacesPerBoundary() const = 0;
virtual IndexVector getNodeDistribution() const = 0;
virtual const int* getNumSubdivisionsPerDim() const = 0;
virtual double getLocalCoordinate(dim_t index, int dim) const = 0;
virtual boost::python::tuple getGridParameters() const = 0;
virtual bool supportsFilter(const boost::python::tuple& t) const;
virtual Assembler_ptr createAssembler(const std::string type,
const DataMap& options) const {
throw SpeckleyException("Domain does not support custom assemblers");
}
Assembler_ptr createAssemblerFromPython(const std::string type,
const boost::python::list& options) const;
virtual const double *getLength() const = 0;
inline int getOrder() const { return m_order;}
protected:
int m_numDim;
StatusType m_status;
escript::JMPI m_mpiInfo;
TagMap m_tagMap;
mutable std::vector<int> m_nodeTags, m_nodeTagsInUse;
mutable std::vector<int> m_elementTags, m_elementTagsInUse;
std::vector<DiracPoint> m_diracPoints;
IndexVector m_diracPointNodeIDs; //for borrowSampleID
assembler_t assembler_type;
int m_order;
template<typename Scalar>
void copyData(escript::Data& out, const escript::Data& in) const;
// this is const because setTags is const
void updateTagsInUse(int fsType) const;
void addToSystemMatrix(escript::AbstractSystemMatrix* mat,
const IndexVector& nodes, dim_t numEq,
const DoubleVector& array) const;
void addPoints(const std::vector<double>& coords,
const std::vector<int>& tags);
template<typename Scalar>
void multiplyData(escript::Data& out, const escript::Data& in) const;
/***********************************************************************/
virtual dim_t getNumNodes() const = 0;
virtual dim_t getNumElements() const = 0;
virtual dim_t getNumDOF() const = 0;
virtual void assembleCoordinates(escript::Data& arg) const = 0;
virtual void assembleGradient(escript::Data& out,
const escript::Data& in) const = 0;
virtual void assembleIntegrate(std::vector<real_t>& integrals,
const escript::Data& arg) const = 0;
virtual void assembleIntegrate(std::vector<cplx_t>& integrals,
const escript::Data& arg) const = 0;
virtual void interpolateNodesOnElements(escript::Data& out,
const escript::Data& in,
bool reduced) const = 0;
virtual void interpolateElementsOnNodes(escript::Data& out,
const escript::Data& in) const = 0;
virtual dim_t getDofOfNode(dim_t node) const = 0;
virtual void reduceElements(escript::Data& out, const escript::Data& in) const = 0;
#ifdef ESYS_MPI
virtual void balanceNeighbours(escript::Data& data, bool average) const = 0;
#endif
private:
void assemblePDE(escript::AbstractSystemMatrix* mat, escript::Data& rhs,
const DataMap& coefs, Assembler_ptr assembler) const;
void assemblePDEBoundary(escript::AbstractSystemMatrix* mat,
escript::Data& rhs, const DataMap& coefs,
Assembler_ptr assembler) const;
void assemblePDEDirac(escript::AbstractSystemMatrix* mat,
escript::Data& rhs, const DataMap& coefs,
Assembler_ptr assembler) const;
template<typename Scalar>
void setToIntegralsWorker(std::vector<Scalar>& integrals,
const escript::Data& arg) const;
virtual dim_t findNode(const double *coords) const = 0;
};
} // end of namespace speckley
#endif // __Speckley_DOMAIN_H__
speckley::SpeckleyDomain::getMPIComm
MPI_Comm getMPIComm() const
returns the MPI communicator
Definition: speckley/src/SpeckleyDomain.h:137
escript::AbstractContinuousDomain
AbstractContinuousDomain, base class for continuous domains.
Definition: AbstractContinuousDomain.h:45
speckley::SpeckleyDomain::m_elementTagsInUse
std::vector< int > m_elementTagsInUse
Definition: speckley/src/SpeckleyDomain.h:736
speckley::SpeckleyDomain::getFunctionOnBoundaryCode
virtual int getFunctionOnBoundaryCode() const
returns a function on boundary FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:398
escript::FunctionSpace
Definition: FunctionSpace.h:34
speckley::DEFAULT_ASSEMBLER
Definition: speckley/src/SpeckleyDomain.h:36
speckley
Definition: AbstractAssembler.cpp:18
speckley::ReducedElements
Definition: Speckley.h:53
speckley::SpeckleyDomain::operator!=
virtual bool operator!=(const escript::AbstractDomain &other) const
inequality operator
Definition: speckley/src/SpeckleyDomain.h:166
speckley::SpeckleyDomain::m_diracPointNodeIDs
IndexVector m_diracPointNodeIDs
Definition: speckley/src/SpeckleyDomain.h:738
speckley::SpeckleyDomain
SpeckleyDomain extends the AbstractContinuousDomain interface for the Speckley library and is the bas...
Definition: speckley/src/SpeckleyDomain.h:84
speckley::readBinaryGridFromZipped
escript::Data readBinaryGridFromZipped(std::string filename, escript::FunctionSpace fs, const object &pyShape, double fill, int byteOrder, int dataType, const object &pyFirst, const object &pyNum, const object &pyMultiplier, const object &pyReverse)
Definition: speckleycpp.cpp:85
speckley::probeInterpolationAcross
bool probeInterpolationAcross(int fsType_source, const escript::AbstractDomain &domain, int fsType_target, int dim)
Definition: CrossDomainCoupler.cpp:31
speckley::SpeckleyDomain::getMPI
virtual escript::JMPI getMPI() const
returns a reference to the MPI information wrapper for this domain
Definition: speckley/src/SpeckleyDomain.h:103
speckley::DoubleVector
std::vector< real_t > DoubleVector
Definition: Speckley.h:44
speckley::SpeckleyDomain::getMPIRank
virtual int getMPIRank() const
returns the MPI rank of this processor
Definition: speckley/src/SpeckleyDomain.h:115
escript::AbstractContinuousDomain::addPDEToTransportProblem
virtual void addPDEToTransportProblem(AbstractTransportProblem &tp, escript::Data &source, const escript::Data &M, const escript::Data &A, const escript::Data &B, const escript::Data &C, const escript::Data &D, const escript::Data &X, const escript::Data &Y, const escript::Data &d, const escript::Data &y, const escript::Data &d_contact, const escript::Data &y_contact, const escript::Data &d_dirac, const escript::Data &y_dirac) const
adds a PDE onto a transport problem
Definition: AbstractContinuousDomain.cpp:165
speckley::SpeckleyDomain::getFunctionOnContactOneCode
virtual int getFunctionOnContactOneCode() const
returns a FunctionOnContactOne code
Definition: speckley/src/SpeckleyDomain.h:431
speckley::SpeckleyDomain::m_status
StatusType m_status
Definition: speckley/src/SpeckleyDomain.h:732
speckley::SpeckleyDomain::supportsContactElements
virtual bool supportsContactElements() const
returns true if this domain supports contact elements, false otherwise
Definition: speckley/src/SpeckleyDomain.h:364
speckley::DegreesOfFreedom
Definition: Speckley.h:48
speckley::SpeckleyDomain::getReducedFunctionOnBoundaryCode
virtual int getReducedFunctionOnBoundaryCode() const
returns a function on boundary with reduced integration order FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:407
speckley::SpeckleyDomain::getDiracDeltaFunctionsCode
virtual int getDiracDeltaFunctionsCode() const
returns a DiracDeltaFunctions FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:463
speckley::ReaderParameters::byteOrder
int byteOrder
byte order in the file (used by binary reader only)
Definition: speckley/src/SpeckleyDomain.h:63
escript::JMPI
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:71
speckley::DataMap
std::map< std::string, escript::Data > DataMap
Definition: speckley/src/domainhelpers.h:24
speckley::SpeckleyDomain::getDim
virtual int getDim() const
returns the number of spatial dimensions of the domain
Definition: speckley/src/SpeckleyDomain.h:156
speckley::Points
Definition: Speckley.h:56
speckley::SpeckleyDomain::m_tagMap
TagMap m_tagMap
Definition: speckley/src/SpeckleyDomain.h:734
speckley::SpeckleyDomain::assembler_type
assembler_t assembler_type
Definition: speckley/src/SpeckleyDomain.h:739
speckley::SpeckleyDomain::getReducedSolutionCode
virtual int getReducedSolutionCode() const
returns a ReducedSolution FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:455
speckley::ReaderParameters::first
std::vector< dim_t > first
the (global) offset into the data object to start writing into
Definition: speckley/src/SpeckleyDomain.h:54
Speckley_DLL_API
#define Speckley_DLL_API
Definition: speckley/src/system_dep.h:22
escript::ATP_ptr
boost::shared_ptr< AbstractTransportProblem > ATP_ptr
Definition: AbstractTransportProblem.h:160
speckley::ReaderParameters
Structure that wraps parameters for the grid reading routines.
Definition: speckley/src/SpeckleyDomain.h:51
speckley::SpeckleyDomain::m_nodeTagsInUse
std::vector< int > m_nodeTagsInUse
Definition: speckley/src/SpeckleyDomain.h:735
speckley::SpeckleyDomain::getReducedContinuousFunctionCode
virtual int getReducedContinuousFunctionCode() const
returns a continuous on reduced order nodes FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:376
speckley::SpeckleyDomain::getFunctionCode
virtual int getFunctionCode() const
returns a function FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:384
speckley::SpeckleyDomain::getApproximationOrder
virtual int getApproximationOrder(int fsType) const
returns the approximation order used for a function space
Definition: speckley/src/SpeckleyDomain.h:358
speckley::SpeckleyDomain::getMPISize
virtual int getMPISize() const
returns the number of processors used for this domain
Definition: speckley/src/SpeckleyDomain.h:109
speckley::SpeckleyDomain::m_order
int m_order
element order (will be m_order + 1 quad points in each axis)
Definition: speckley/src/SpeckleyDomain.h:741
speckley::SpeckleyDomain::setTagMap
virtual void setTagMap(const std::string &name, int tag)
sets a map from a clear tag name to a tag key
Definition: speckley/src/SpeckleyDomain.h:192
escript::DataTypes::index_t
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:59
speckley::SpeckleyDomain::MPIBarrier
virtual void MPIBarrier() const
if compiled for MPI then executes an MPI_Barrier, else does nothing
Definition: speckley/src/SpeckleyDomain.h:121
speckley::ReaderParameters::reverse
std::vector< int > reverse
if non-zero, values are written from last index to first index
Definition: speckley/src/SpeckleyDomain.h:61
speckley::DiracPoint
A struct to contain a dirac point&#39;s information.
Definition: speckley/src/SpeckleyDomain.h:72
escript::SubWorld_ptr
boost::shared_ptr< SubWorld > SubWorld_ptr
Definition: SubWorld.h:146
speckley::SpeckleyDomain::onMasterProcessor
virtual bool onMasterProcessor() const
returns true if on MPI processor 0, else false
Definition: speckley/src/SpeckleyDomain.h:131
speckley::Nodes
Definition: Speckley.h:50
speckley::SpeckleyDomain::getOrder
int getOrder() const
returns the order of the domain
Definition: speckley/src/SpeckleyDomain.h:728
speckley::SpeckleyDomain::getReducedFunctionCode
virtual int getReducedFunctionCode() const
returns a function with reduced integration order FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:390
escript::AbstractDomain::StatusType
int StatusType
Definition: AbstractDomain.h:48
speckley::SpeckleyDomain::isValidTagName
virtual bool isValidTagName(const std::string &name) const
returns true if name is a defined tag name
Definition: speckley/src/SpeckleyDomain.h:214
speckley::readNcGrid
escript::Data readNcGrid(std::string filename, std::string varname, escript::FunctionSpace fs, const object &pyShape, double fill, const object &pyFirst, const object &pyNum, const object &pyMultiplier, const object &pyReverse)
Definition: speckleycpp.cpp:114
escript::Data
Data represents a collection of datapoints.
Definition: Data.h:63
speckley::SpeckleyDomain::getTag
virtual int getTag(const std::string &name) const
returns the tag key for tag name
Definition: speckley/src/SpeckleyDomain.h:201
speckley::IndexVector
std::vector< index_t > IndexVector
Definition: Speckley.h:43
speckley::SpeckleyException
SpeckleyException exception class.
Definition: SpeckleyException.h:29
speckley::SpeckleyDomain::getReducedFunctionOnContactOneCode
virtual int getReducedFunctionOnContactOneCode() const
returns a FunctionOnContactOne code with reduced integration order
Definition: speckley/src/SpeckleyDomain.h:439
speckley::ReaderParameters::dataType
int dataType
data type in the file (used by binary reader only)
Definition: speckley/src/SpeckleyDomain.h:65
speckley::SpeckleyDomain::getStatus
virtual StatusType getStatus() const
returns a status indicator of the domain. The status identifier should be unique over the lifetime of...
Definition: speckley/src/SpeckleyDomain.h:334
speckley::assembler_t
assembler_t
Definition: speckley/src/SpeckleyDomain.h:35
speckley::readBinaryGrid
escript::Data readBinaryGrid(std::string filename, escript::FunctionSpace fs, const object &pyShape, double fill, int byteOrder, int dataType, const object &pyFirst, const object &pyNum, const object &pyMultiplier, const object &pyReverse)
Definition: speckleycpp.cpp:60
speckley::SpeckleyDomain::m_mpiInfo
escript::JMPI m_mpiInfo
Definition: speckley/src/SpeckleyDomain.h:733
MPI_Comm
int MPI_Comm
Definition: EsysMPI.h:41
speckley::simap_t
std::map< std::string, int > simap_t
Definition: speckley/src/SpeckleyDomain.h:44
speckley::TagMap
std::map< std::string, int > TagMap
Definition: Speckley.h:45
speckley::DiracPoint::node
dim_t node
Definition: speckley/src/SpeckleyDomain.h:74
escript::AbstractTransportProblem
Give a short description of what AbstractTransportProblem does.
Definition: AbstractTransportProblem.h:43
speckley::SpeckleyDomain::getFunctionOnContactZeroCode
virtual int getFunctionOnContactZeroCode() const
return a FunctionOnContactZero code
Definition: speckley/src/SpeckleyDomain.h:415
escript::AbstractSystemMatrix
Base class for escript system matrices.
Definition: AbstractSystemMatrix.h:42
speckley::SpeckleyDomain::m_numDim
int m_numDim
Definition: speckley/src/SpeckleyDomain.h:731
speckley::ReaderParameters::multiplier
std::vector< int > multiplier
Definition: speckley/src/SpeckleyDomain.h:59
speckley::SpeckleyDomain::getReducedFunctionOnContactZeroCode
virtual int getReducedFunctionOnContactZeroCode() const
returns a FunctionOnContactZero code with reduced integration order
Definition: speckley/src/SpeckleyDomain.h:423
escript::ASM_ptr
boost::shared_ptr< AbstractSystemMatrix > ASM_ptr
Definition: AbstractSystemMatrix.h:32
speckley::ReaderParameters::numValues
std::vector< dim_t > numValues
the number of values to read from file
Definition: speckley/src/SpeckleyDomain.h:56
speckley::SpeckleyDomain::getContinuousFunctionCode
virtual int getContinuousFunctionCode() const
returns a continuous FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:370
speckley::Elements
Definition: Speckley.h:52
escript::AbstractDomain
Base class for all escript domains.
Definition: AbstractDomain.h:45
speckley::DiracPoint::tag
int tag
Definition: speckley/src/SpeckleyDomain.h:75
speckley::SpeckleyDomain::getSolutionCode
virtual int getSolutionCode() const
returns a Solution FunctionSpace code
Definition: speckley/src/SpeckleyDomain.h:447
speckley::SpeckleyDomain::m_diracPoints
std::vector< DiracPoint > m_diracPoints
Definition: speckley/src/SpeckleyDomain.h:737
escript::DataTypes::dim_t
index_t dim_t
Definition: DataTypes.h:64
speckley::SpeckleyDomain::createAssembler
virtual Assembler_ptr createAssembler(const std::string type, const DataMap &options) const
Definition: speckley/src/SpeckleyDomain.h:710