|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
localmatrix.hh
Go to the documentation of this file.
Col col
X & lhs()
Y & rhs()
#define CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)
#define CHECK_INTERFACE_IMPLEMENTATION(dummy)
Definition bartonnackmaninterface.hh:17
const Implementation & asImp() const
Definition bartonnackmaninterface.hh:37
Definition localmatrix.hh:442
Traits::LocalMatrixType LocalMatrixType
type of local matrix implementation
Definition localmatrix.hh:445
Traits::RangeSpaceType RangeSpaceType
type of domain discrete function space
Definition localmatrix.hh:448
RangeSpaceType::JacobianRangeType JacobianRangeType
type of jacobian range
Definition localmatrix.hh:453
RangeSpaceType::RangeType RangeType
type of range
Definition localmatrix.hh:451
LocalMatrixType & localMatrix_
Definition localmatrix.hh:459
RangeSpaceType::RangeFieldType RangeFieldType
type of range field
Definition localmatrix.hh:455
void axpy(const RangeVectorType &phi, const Explicit< RangeType > &factor, const RangeFieldType &weight=RangeFieldType(1))
axpy operation for local matrices
Definition localmatrix.hh:488
void axpy(const RangeVectorType &phi, const JacobianVectorType &dphi, const Explicit< RangeType > &factor, const JacobianRangeType &jacobianFactor, const RangeFieldType &weight=RangeFieldType(1))
axpy operation for local matrices
Definition localmatrix.hh:545
void axpy(const JacobianVectorType &dphi, const JacobianRangeType &jacobianFactor, const RangeFieldType &weight=RangeFieldType(1))
axpy operation for local matrices
Definition localmatrix.hh:514
void unbind()
clear local matrix from entities
Definition localmatrix.hh:105
void resort()
resort ordering in global matrix (if possible)
Definition localmatrix.hh:201
Traits::LittleBlockType LittleBlockType
Definition localmatrix.hh:71
const RangeFieldType get(const int localRow, const int localCol) const
get value of matrix entry (row,col) where row and col are local row and local column
Definition localmatrix.hh:178
void clear()
set all entries of local matrix to zero
Definition localmatrix.hh:195
void scale(const RangeFieldType &scalar)
scale matrix with scalar value
Definition localmatrix.hh:188
Traits::LocalMatrixType LocalMatrixType
type of local matrix implementation
Definition localmatrix.hh:48
const DomainBasisFunctionSetType & domainBasisFunctionSet() const
access to the base function set within the domain space
Definition localmatrix.hh:235
LocalMatrixInterface()
constructor
Definition localmatrix.hh:79
Traits::DomainSpaceType DomainSpaceType
type of domain discrete function space
Definition localmatrix.hh:54
void add(const int localRow, const int localCol, const RangeFieldType &value)
add value to matrix entry (row,col) where row and col are local row and local column
Definition localmatrix.hh:116
const Implementation & asImp() const
Definition bartonnackmaninterface.hh:37
void init(const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
initialize the local matrix to entities
Definition localmatrix.hh:87
int rows() const
get number of rows within the matrix
Definition localmatrix.hh:207
const DomainSpaceType & domainSpace() const
access to the domain space
Definition localmatrix.hh:221
Traits::RangeSpaceType RangeSpaceType
type of range discrete function space
Definition localmatrix.hh:57
void set(const int localRow, const int localCol, const RangeFieldType &value)
set value of matrix entry (row,col) where row and col are local row and local column
Definition localmatrix.hh:130
RangeSpaceType::EntityType RangeEntityType
Definition localmatrix.hh:68
void bind(const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
initialize the local matrix to entities
Definition localmatrix.hh:97
RangeSpaceType::BasisFunctionSetType RangeBasisFunctionSetType
type of base function sets within range function space
Definition localmatrix.hh:65
DomainSpaceType::BasisFunctionSetType DomainBasisFunctionSetType
type of base function sets within domain function space
Definition localmatrix.hh:61
void multiplyAdd(const DomainLocalFunctionType &lhs, RangeLocalFunctionType &rhs) const
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs
Definition localmatrix.hh:165
void clearRow(const int localRow)
set row to zero values
Definition localmatrix.hh:141
Traits::RangeFieldType RangeFieldType
type of range field
Definition localmatrix.hh:51
void finalize()
finalize local matrix setup and possibly add values to real matrix
Definition localmatrix.hh:272
MatrixColumnObject< Traits > MatrixColumnType
Definition localmatrix.hh:73
const RangeSpaceType & rangeSpace() const
access to the range space
Definition localmatrix.hh:228
ThisType LocalMatrixInterfaceType
type of this interface
Definition localmatrix.hh:45
DomainSpaceType::EntityType DomainEntityType
Definition localmatrix.hh:67
LocalMatrixTraits Traits
type of traits class
Definition localmatrix.hh:42
int columns() const
get number of columns within the matrix
Definition localmatrix.hh:214
const RangeEntityType & rangeEntity() const
Definition localmatrix.hh:254
const DomainEntityType & domainEntity() const
Definition localmatrix.hh:248
MatrixColumnType column(const unsigned int col)
return column object for local matrix which contains axpy methods for convenience
Definition localmatrix.hh:266
void clearCol(const int localCol)
ser column entries to zero
Definition localmatrix.hh:151
const RangeBasisFunctionSetType & rangeBasisFunctionSet() const
access to the base function set within the range space
Definition localmatrix.hh:242
Default implementation for local matrix classes.
Definition localmatrix.hh:287
void clearRow(const int localRow)
set row to zero values
Definition localmatrix.hh:420
void bind(const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
initialize the local matrix to entities
Definition localmatrix.hh:352
void resort()
resort ordering in global matrix (if possible)
Definition localmatrix.hh:370
const RangeEntityType & rangeEntity() const
Definition localmatrix.hh:400
void init(const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
initialize the local matrix to entities
Definition localmatrix.hh:346
LocalMatrixDefault(const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity)
Definition localmatrix.hh:323
const DomainSpaceType & domainSpace_
Definition localmatrix.hh:304
int rows() const
get number of rows within the matrix
Definition localmatrix.hh:376
const DomainEntityType & domainEntity() const
Definition localmatrix.hh:399
const RangeBasisFunctionSetType & rangeBasisFunctionSet() const
access to the base function set within the range space
Definition localmatrix.hh:394
const RangeSpaceType & rangeSpace() const
access to the range space
Definition localmatrix.hh:385
DomainBasisFunctionSetType domainBaseSet_
Definition localmatrix.hh:307
int columns() const
get number of columns within the matrix
Definition localmatrix.hh:379
const RangeSpaceType & rangeSpace_
Definition localmatrix.hh:305
void clearCol(const int localCol)
ser column entries to zero
Definition localmatrix.hh:430
std::optional< DomainEntityType > domainEntity_
Definition localmatrix.hh:310
BaseType::DomainBasisFunctionSetType DomainBasisFunctionSetType
Definition localmatrix.hh:297
BaseType::RangeBasisFunctionSetType RangeBasisFunctionSetType
Definition localmatrix.hh:298
BaseType::RangeEntityType RangeEntityType
Definition localmatrix.hh:301
std::optional< RangeEntityType > rangeEntity_
Definition localmatrix.hh:311
void unbind()
clear local matrix from entities
Definition localmatrix.hh:361
const DomainSpaceType & domainSpace() const
access to the domain space
Definition localmatrix.hh:382
BaseType::DomainEntityType DomainEntityType
Definition localmatrix.hh:300
void multiplyAdd(const DomainLocalFunctionType &lhs, RangeLocalFunctionType &rhs) const
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs
Definition localmatrix.hh:405
BaseType::DomainSpaceType DomainSpaceType
Definition localmatrix.hh:294
const DomainBasisFunctionSetType & domainBasisFunctionSet() const
access to the base function set within the domain space
Definition localmatrix.hh:388
BaseType::RangeSpaceType RangeSpaceType
Definition localmatrix.hh:295
LocalMatrixDefault(const LocalMatrixDefault &org)
Definition localmatrix.hh:335
LocalMatrixDefault(const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace)
Definition localmatrix.hh:314
RangeBasisFunctionSetType rangeBaseSet_
Definition localmatrix.hh:308
void finalize()
finalize local matrix setup and possibly add values to real matrix
Definition localmatrix.hh:373
T emplace(T... args)
T reset(T... args)
T value(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8