ripley/src/RipleyDomain.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 __RIPLEY_DOMAIN_H__
#define __RIPLEY_DOMAIN_H__
#include <ripley/Ripley.h>
#include <ripley/AbstractAssembler.h>
#include <ripley/RipleyException.h>
#include <escript/AbstractContinuousDomain.h>
#include <escript/Data.h>
#include <escript/FunctionSpace.h>
#include <escript/SubWorld.h>
#ifdef ESYS_HAVE_PASO
#include <paso/Coupler.h>
#include <paso/SystemMatrix.h>
#endif
#ifdef ESYS_HAVE_TRILINOS
#include <trilinoswrap/types.h>
#endif
#include <boost/python/list.hpp>
#include <boost/python/tuple.hpp>
namespace ripley {
enum assembler_t {
DEFAULT_ASSEMBLER,
WAVE_ASSEMBLER,
LAME_ASSEMBLER
};
enum SystemMatrixType {
SMT_PASO = 1<<8,
SMT_CUSP = 1<<9,
SMT_TRILINOS = 1<<10,
SMT_SYMMETRIC = 1<<15,
SMT_COMPLEX = 1<<16,
SMT_UNROLL = 1<<17
};
enum DecompositionPolicy {
DECOMP_ADD_ELEMENTS,
DECOMP_EXPAND,
DECOMP_STRICT
};
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 RIPLEY_DLL_API RipleyDomain : public escript::AbstractContinuousDomain
{
public:
RipleyDomain(dim_t dim, escript::SubWorld_ptr p=escript::SubWorld_ptr());
~RipleyDomain();
static void setDecompositionPolicy(DecompositionPolicy value);
static DecompositionPolicy getDecompositionPolicy();
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 escript::ValueError("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;
virtual bool probeInterpolationAcross(int, const escript::AbstractDomain&, int) const;
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 { return ReducedNodes; }
virtual int getFunctionCode() const { return Elements; }
virtual int getReducedFunctionCode() const { return ReducedElements; }
virtual int getFunctionOnBoundaryCode() const { return FaceElements; }
virtual int getReducedFunctionOnBoundaryCode() const { return ReducedFaceElements; }
virtual int getFunctionOnContactZeroCode() const {
throw escript::NotImplementedError("Ripley does not support contact elements");
}
virtual int getReducedFunctionOnContactZeroCode() const {
throw escript::NotImplementedError("Ripley does not support contact elements");
}
virtual int getFunctionOnContactOneCode() const {
throw escript::NotImplementedError("Ripley does not support contact elements");
}
virtual int getReducedFunctionOnContactOneCode() const {
throw escript::NotImplementedError("Ripley does not support contact elements");
}
virtual int getSolutionCode() const { return DegreesOfFreedom; }
virtual int getReducedSolutionCode() const { return ReducedDegreesOfFreedom; }
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;
virtual void addPDEToTransportProblem(escript::AbstractTransportProblem& tp,
escript::Data& source, const DataMap& data,
Assembler_ptr assembler) const;
virtual void addPDEToTransportProblem(
escript::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;
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 dim_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(index_t index, int dim) const = 0;
virtual boost::python::tuple getGridParameters() const = 0;
virtual const double *getLength() const = 0;
virtual const double *getElementLength() const = 0;
virtual RankVector getOwnerVector(int fsType) const = 0;
virtual bool supportsFilter(const boost::python::tuple& t) const;
virtual Assembler_ptr createAssembler(std::string type,
const DataMap& options) const {
throw escript::NotImplementedError("Domain does not support custom assemblers");
}
Assembler_ptr createAssemblerFromPython(std::string type,
const boost::python::list& options) const;
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;
mutable std::vector<int> m_faceTags, m_faceTagsInUse;
std::vector<DiracPoint> m_diracPoints;
IndexVector m_diracPointNodeIDs; //for borrowSampleID
assembler_t assembler_type;
template<typename Scalar>
void copyData(escript::Data& out, const escript::Data& in) const;
template<typename Scalar>
void averageData(escript::Data& out, const escript::Data& in) const;
template<typename Scalar>
void multiplyData(escript::Data& out, const escript::Data& in) const;
// this is const because setTags is const
void updateTagsInUse(int fsType) const;
#ifdef ESYS_HAVE_PASO
void createPasoConnector(const RankVector& neighbour,
const IndexVector& offsetInSharedSend,
const IndexVector& offsetInSharedRecv,
const IndexVector& sendShared,
const IndexVector& recvShared);
paso::Connector_ptr getPasoConnector() const { return m_connector; }
paso::Pattern_ptr createPasoPattern(const std::vector<IndexVector>& indices,
dim_t N) const;
#endif
#ifdef ESYS_HAVE_TRILINOS
esys_trilinos::const_TrilinosGraph_ptr createTrilinosGraph(
const IndexVector& myRows, const IndexVector& myColumns) const;
#endif
template<typename Scalar>
void addToSystemMatrix(escript::AbstractSystemMatrix* mat,
const IndexVector& nodes, dim_t numEq,
const std::vector<Scalar>& array) const;
void addPoints(const std::vector<double>& coords,
const std::vector<int>& tags);
/***********************************************************************/
virtual dim_t getNumNodes() const = 0;
virtual dim_t getNumElements() const = 0;
virtual dim_t getNumDOF() const = 0;
virtual dim_t getNumFaceElements() const = 0;
virtual IndexVector getDiagonalIndices(bool upperOnly) 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;
#ifdef ESYS_HAVE_TRILINOS
virtual esys_trilinos::const_TrilinosGraph_ptr getTrilinosGraph() const = 0;
#endif
virtual std::vector<IndexVector> getConnections(bool includeShared) const = 0;
#ifdef ESYS_HAVE_PASO
virtual paso::SystemMatrixPattern_ptr getPasoMatrixPattern(
bool reducedRowOrder,
bool reducedColOrder) const = 0;
#endif
virtual void interpolateNodesOnElements(escript::Data& out,
const escript::Data& in,
bool reduced) const = 0;
virtual void interpolateNodesOnFaces(escript::Data& out,
const escript::Data& in,
bool reduced) const = 0;
virtual void nodesToDOF(escript::Data& out, const escript::Data& in) const = 0;
template<typename Scalar>
void dofToNodes(escript::Data& out, const escript::Data& in) const;
virtual dim_t getDofOfNode(dim_t node) const = 0;
private:
static DecompositionPolicy m_decompPolicy;
#ifdef ESYS_HAVE_PASO
// Paso connector used by the system matrix and to interpolate DOF to
// nodes
paso::Connector_ptr m_connector;
void addToPasoMatrix(paso::SystemMatrix* in, const IndexVector& nodes,
dim_t numEq, const DoubleVector& array) const;
#endif
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 ripley
#endif // __RIPLEY_DOMAIN_H__
escript::AbstractContinuousDomain
AbstractContinuousDomain, base class for continuous domains.
Definition: AbstractContinuousDomain.h:45
escript::FunctionSpace
Definition: FunctionSpace.h:34
paso::Pattern_ptr
boost::shared_ptr< Pattern > Pattern_ptr
Definition: Pattern.h:37
ripley::RipleyDomain::onMasterProcessor
virtual bool onMasterProcessor() const
returns true if on MPI processor 0, else false
Definition: ripley/src/RipleyDomain.h:151
ripley::ReaderParameters::dataType
int dataType
data type in the file (used by binary reader only)
Definition: ripley/src/RipleyDomain.h:82
ripley::ReducedNodes
Definition: Ripley.h:52
ripley::SystemMatrixType
SystemMatrixType
Definition: ripley/src/RipleyDomain.h:49
ripley::FaceElements
Definition: Ripley.h:55
ripley::DiracPoint::node
dim_t node
Definition: ripley/src/RipleyDomain.h:91
speckley::probeInterpolationAcross
bool probeInterpolationAcross(int fsType_source, const escript::AbstractDomain &domain, int fsType_target, int dim)
Definition: CrossDomainCoupler.cpp:31
ripley::DECOMP_ADD_ELEMENTS
Definition: ripley/src/RipleyDomain.h:59
ripley::Elements
Definition: Ripley.h:53
ripley::RipleyDomain::supportsContactElements
virtual bool supportsContactElements() const
returns true if this domain supports contact elements, false otherwise
Definition: ripley/src/RipleyDomain.h:380
ripley::RankVector
std::vector< int > RankVector
Definition: Ripley.h:45
ripley::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: ripleycpp.cpp:116
ripley::DECOMP_STRICT
Definition: ripley/src/RipleyDomain.h:61
ripley::RipleyDomain::getReducedFunctionOnContactZeroCode
virtual int getReducedFunctionOnContactZeroCode() const
returns a FunctionOnContactZero code with reduced integration order
Definition: ripley/src/RipleyDomain.h:431
ripley::RipleyDomain::m_decompPolicy
static DecompositionPolicy m_decompPolicy
Definition: ripley/src/RipleyDomain.h:877
ripley::RipleyDomain::getReducedFunctionCode
virtual int getReducedFunctionCode() const
returns a function with reduced integration order FunctionSpace code
Definition: ripley/src/RipleyDomain.h:404
ripley::RipleyDomain::createAssembler
virtual Assembler_ptr createAssembler(std::string type, const DataMap &options) const
Definition: ripley/src/RipleyDomain.h:744
ripley::WAVE_ASSEMBLER
Definition: ripley/src/RipleyDomain.h:45
ripley::RipleyDomain::getMPIRank
virtual int getMPIRank() const
returns the MPI rank of this processor
Definition: ripley/src/RipleyDomain.h:135
ripley::DECOMP_EXPAND
Definition: ripley/src/RipleyDomain.h:60
ripley::ReaderParameters::byteOrder
int byteOrder
byte order in the file (used by binary reader only)
Definition: ripley/src/RipleyDomain.h:80
ripley::RipleyDomain::MPIBarrier
virtual void MPIBarrier() const
if compiled for MPI then executes an MPI_Barrier, else does nothing
Definition: ripley/src/RipleyDomain.h:141
ripley::RipleyDomain::m_faceTagsInUse
std::vector< int > m_faceTagsInUse
Definition: ripley/src/RipleyDomain.h:763
ripley::DiracPoint
A struct to contain a dirac point&#39;s information.
Definition: ripley/src/RipleyDomain.h:89
ripley::DEFAULT_ASSEMBLER
Definition: ripley/src/RipleyDomain.h:44
escript::JMPI
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:71
ripley::RipleyDomain::assembler_type
assembler_t assembler_type
Definition: ripley/src/RipleyDomain.h:766
ripley::SMT_CUSP
Definition: ripley/src/RipleyDomain.h:51
ripley::RipleyDomain::m_nodeTagsInUse
std::vector< int > m_nodeTagsInUse
Definition: ripley/src/RipleyDomain.h:761
ripley::Nodes
Definition: Ripley.h:51
ripley::SMT_PASO
Definition: ripley/src/RipleyDomain.h:50
paso::M
static dim_t M
Definition: SparseMatrix_saveHB.cpp:37
ripley::ReaderParameters::reverse
std::vector< int > reverse
if non-zero, values are written from last index to first index
Definition: ripley/src/RipleyDomain.h:78
ripley::ReducedFaceElements
Definition: Ripley.h:56
ripley::RipleyDomain::getFunctionOnBoundaryCode
virtual int getFunctionOnBoundaryCode() const
returns a function on boundary FunctionSpace code
Definition: ripley/src/RipleyDomain.h:410
ripley::RipleyDomain::getStatus
virtual StatusType getStatus() const
returns a status indicator of the domain. The status identifier should be unique over the lifetime of...
Definition: ripley/src/RipleyDomain.h:350
ripley::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: ripleycpp.cpp:62
ripley::assembler_t
assembler_t
Definition: ripley/src/RipleyDomain.h:43
paso::SystemMatrixPattern_ptr
boost::shared_ptr< SystemMatrixPattern > SystemMatrixPattern_ptr
Definition: SystemMatrixPattern.h:39
escript::ATP_ptr
boost::shared_ptr< AbstractTransportProblem > ATP_ptr
Definition: AbstractTransportProblem.h:160
ripley::TagMap
std::map< std::string, int > TagMap
Definition: Ripley.h:46
ripley::RipleyDomain::getApproximationOrder
virtual int getApproximationOrder(int fsType) const
returns the approximation order used for a function space
Definition: ripley/src/RipleyDomain.h:374
ripley::RipleyDomain::m_diracPointNodeIDs
IndexVector m_diracPointNodeIDs
Definition: ripley/src/RipleyDomain.h:765
escript::DataTypes::index_t
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:59
ripley::IndexVector
std::vector< index_t > IndexVector
Definition: Ripley.h:43
ripley::RipleyDomain::m_status
StatusType m_status
Definition: ripley/src/RipleyDomain.h:758
ripley::SMT_TRILINOS
Definition: ripley/src/RipleyDomain.h:52
ripley::DataMap
std::map< std::string, escript::Data > DataMap
Definition: ripley/src/domainhelpers.h:24
ripley::RipleyDomain::getReducedFunctionOnContactOneCode
virtual int getReducedFunctionOnContactOneCode() const
returns a FunctionOnContactOne code with reduced integration order
Definition: ripley/src/RipleyDomain.h:447
escript::SubWorld_ptr
boost::shared_ptr< SubWorld > SubWorld_ptr
Definition: SubWorld.h:146
escript::NotImplementedError
An exception class for features which are not (yet) implemented.
Definition: EsysException.h:78
ripley::RipleyDomain::getSolutionCode
virtual int getSolutionCode() const
returns a Solution FunctionSpace code
Definition: ripley/src/RipleyDomain.h:455
ripley::RipleyDomain::getDim
virtual int getDim() const
returns the number of spatial dimensions of the domain
Definition: ripley/src/RipleyDomain.h:176
ripley::ReaderParameters
Structure that wraps parameters for the grid reading routines.
Definition: ripley/src/RipleyDomain.h:68
ripley::ReducedDegreesOfFreedom
Definition: Ripley.h:50
ripley::ReaderParameters::multiplier
std::vector< int > multiplier
Definition: ripley/src/RipleyDomain.h:76
escript::AbstractDomain::StatusType
int StatusType
Definition: AbstractDomain.h:48
paso::SystemMatrix
this class holds a (distributed) stiffness matrix
Definition: SystemMatrix.h:47
ripley::ReaderParameters::numValues
std::vector< dim_t > numValues
the number of values to read from file
Definition: ripley/src/RipleyDomain.h:73
ripley::RipleyDomain::getFunctionOnContactOneCode
virtual int getFunctionOnContactOneCode() const
returns a FunctionOnContactOne code
Definition: ripley/src/RipleyDomain.h:439
ripley::RipleyDomain::getReducedContinuousFunctionCode
virtual int getReducedContinuousFunctionCode() const
returns a continuous on reduced order nodes FunctionSpace code
Definition: ripley/src/RipleyDomain.h:392
escript::Data
Data represents a collection of datapoints.
Definition: Data.h:63
ripley::DecompositionPolicy
DecompositionPolicy
Definition: ripley/src/RipleyDomain.h:58
ripley::RipleyDomain::m_numDim
int m_numDim
Definition: ripley/src/RipleyDomain.h:757
ripley::SMT_SYMMETRIC
Definition: ripley/src/RipleyDomain.h:53
ripley::RipleyDomain::operator!=
virtual bool operator!=(const escript::AbstractDomain &other) const
inequality operator
Definition: ripley/src/RipleyDomain.h:186
ripley::RipleyDomain::getReducedSolutionCode
virtual int getReducedSolutionCode() const
returns a ReducedSolution FunctionSpace code
Definition: ripley/src/RipleyDomain.h:461
ripley::RipleyDomain::setTagMap
virtual void setTagMap(const std::string &name, int tag)
sets a map from a clear tag name to a tag key
Definition: ripley/src/RipleyDomain.h:212
paso::N
static dim_t N
Definition: SparseMatrix_saveHB.cpp:37
ripley::RipleyDomain
RipleyDomain extends the AbstractContinuousDomain interface for the Ripley library and is the base cl...
Definition: ripley/src/RipleyDomain.h:101
ripley::Points
Definition: Ripley.h:57
ripley::ReducedElements
Definition: Ripley.h:54
MPI_Comm
int MPI_Comm
Definition: EsysMPI.h:41
ripley::RipleyDomain::getReducedFunctionOnBoundaryCode
virtual int getReducedFunctionOnBoundaryCode() const
returns a function on boundary with reduced integration order FunctionSpace code
Definition: ripley/src/RipleyDomain.h:417
ripley::RipleyDomain::getFunctionOnContactZeroCode
virtual int getFunctionOnContactZeroCode() const
return a FunctionOnContactZero code
Definition: ripley/src/RipleyDomain.h:423
ripley::DiracPoint::tag
int tag
Definition: ripley/src/RipleyDomain.h:92
ripley::RipleyDomain::getDiracDeltaFunctionsCode
virtual int getDiracDeltaFunctionsCode() const
returns a DiracDeltaFunctions FunctionSpace code
Definition: ripley/src/RipleyDomain.h:467
escript::AbstractTransportProblem
Give a short description of what AbstractTransportProblem does.
Definition: AbstractTransportProblem.h:43
escript::ValueError
An exception class that signals an invalid argument value.
Definition: EsysException.h:88
paso::Connector_ptr
boost::shared_ptr< Connector > Connector_ptr
Definition: Coupler.h:37
ripley::LAME_ASSEMBLER
Definition: ripley/src/RipleyDomain.h:46
ripley::RipleyDomain::isValidTagName
virtual bool isValidTagName(const std::string &name) const
returns true if name is a defined tag name
Definition: ripley/src/RipleyDomain.h:234
ripley::ReaderParameters::first
std::vector< dim_t > first
the (global) offset into the data object to start writing into
Definition: ripley/src/RipleyDomain.h:71
escript::AbstractSystemMatrix
Base class for escript system matrices.
Definition: AbstractSystemMatrix.h:42
ripley::RipleyDomain::getMPI
virtual escript::JMPI getMPI() const
returns a reference to the MPI information wrapper for this domain
Definition: ripley/src/RipleyDomain.h:123
ripley
Definition: ripley/src/AbstractAssembler.h:25
ripley::DoubleVector
std::vector< real_t > DoubleVector
Definition: Ripley.h:44
ripley::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: ripleycpp.cpp:87
ripley::RipleyDomain::getMPISize
virtual int getMPISize() const
returns the number of processors used for this domain
Definition: ripley/src/RipleyDomain.h:129
ripley::RipleyDomain::m_diracPoints
std::vector< DiracPoint > m_diracPoints
Definition: ripley/src/RipleyDomain.h:764
escript::ASM_ptr
boost::shared_ptr< AbstractSystemMatrix > ASM_ptr
Definition: AbstractSystemMatrix.h:32
ripley::RipleyDomain::getTag
virtual int getTag(const std::string &name) const
returns the tag key for tag name
Definition: ripley/src/RipleyDomain.h:221
ripley::RipleyDomain::m_elementTagsInUse
std::vector< int > m_elementTagsInUse
Definition: ripley/src/RipleyDomain.h:762
escript::AbstractDomain
Base class for all escript domains.
Definition: AbstractDomain.h:45
ripley::RipleyDomain::getMPIComm
MPI_Comm getMPIComm() const
returns the MPI communicator
Definition: ripley/src/RipleyDomain.h:157
ripley::RipleyDomain::m_tagMap
TagMap m_tagMap
Definition: ripley/src/RipleyDomain.h:760
ripley::RipleyDomain::getContinuousFunctionCode
virtual int getContinuousFunctionCode() const
returns a continuous FunctionSpace code
Definition: ripley/src/RipleyDomain.h:386
ripley::DegreesOfFreedom
Definition: Ripley.h:49
RIPLEY_DLL_API
#define RIPLEY_DLL_API
Definition: ripley/src/system_dep.h:20
ripley::SMT_COMPLEX
Definition: ripley/src/RipleyDomain.h:54
ripley::RipleyDomain::m_mpiInfo
escript::JMPI m_mpiInfo
Definition: ripley/src/RipleyDomain.h:759
escript::DataTypes::dim_t
index_t dim_t
Definition: DataTypes.h:64
ripley::SMT_UNROLL
Definition: ripley/src/RipleyDomain.h:55
ripley::RipleyDomain::getFunctionCode
virtual int getFunctionCode() const
returns a function FunctionSpace code
Definition: ripley/src/RipleyDomain.h:398