Overture
Version 25
|
#include <MatrixMapping.h>
Static Public Member Functions | |
static void | matrixMatrixProduct (RealArray &m1, const RealArray &m2, const RealArray &m3) |
static void | matrixVectorProduct (RealArray &v1, const RealArray &m2, const RealArray &v3) |
static int | matrixInversion (RealArray &m1Inverse, const RealArray &m1) |
Static Public Member Functions inherited from Mapping | |
static void | openDebugFiles () |
static void | closeDebugFiles () |
static real | epsilon () |
static void | setMinimumNumberOfDistributedGhostLines (int numGhost) |
static int | getGridMinAndMax (const realArray &u, const Range &R1, const Range &R2, const Range &R3, real uMin[3], real uMax[3], bool local=false) |
static Mapping * | makeMapping (const aString &mappingClassName) |
static MappingLinkedList & | staticMapList () |
Public Attributes | |
RealArray | matrix |
RealArray | matrixInverse |
Public Attributes inherited from Mapping | |
int | computeMap |
int | computeMapDerivative |
int | base |
int | bound |
real | signForJacobian |
ApproximateGlobalInverse * | approximateGlobalInverse |
ExactLocalInverse * | exactLocalInverse |
DistributedInverse * | distributedInverse |
MatrixMapping::MatrixMapping | ( | int | domainDimension = 3 , |
int | rangeDimension = 3 |
||
) |
MatrixMapping::MatrixMapping | ( | const MatrixMapping & | map, |
const CopyType | copyType = DEEP |
||
) |
MatrixMapping::~MatrixMapping | ( | ) |
References Mapping::debug.
|
virtual |
Reimplemented from Mapping.
References inverseMap().
|
virtual |
Reimplemented from Mapping.
References inverseMapS().
|
virtual |
Reimplemented from Mapping.
References className, Mapping::debug, GenericDataBase::find(), GenericDataBase::get(), Mapping::get(), matrix, matrixInverse, and GenericDataBase::virtualConstructor().
|
inlinevirtual |
|
virtual |
Reimplemented from Mapping.
References axis1, Mapping::base, Mapping::bound, Mapping::computeMap, Mapping::computeMapDerivative, Mapping::debug, Mapping::domainDimension, Mapping::getIndex(), getLocalArrayWithGhostBoundaries(), inverseMapS(), MappingParameters::isNull, matrixInverse, r, and Mapping::rangeDimension.
Referenced by basicInverse().
|
virtual |
Reimplemented from Mapping.
References axis1, Mapping::base, Mapping::bound, Mapping::computeMap, Mapping::computeMapDerivative, Mapping::debug, Mapping::domainDimension, Mapping::getIndex(), MappingParameters::isNull, matrixInverse, r, and Mapping::rangeDimension.
Referenced by basicInverseS(), and inverseMap().
Reimplemented from Mapping.
References assert, className, MatrixMapping(), and NULL.
|
virtual |
Reimplemented from Mapping.
References axis1, Mapping::base, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, Mapping::debug, Mapping::domainDimension, Mapping::getIndex(), getLocalArrayWithGhostBoundaries(), mapS(), matrix, r, and Mapping::rangeDimension.
Referenced by MatrixMapping().
|
virtual |
Reimplemented from Mapping.
References axis1, Mapping::base, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, Mapping::debug, Mapping::domainDimension, Mapping::getIndex(), matrix, r, and Mapping::rangeDimension.
Referenced by map().
|
static |
MatrixMapping & MatrixMapping::operator= | ( | const MatrixMapping & | X | ) |
References className, getClassName(), matrix, matrixInverse, and Mapping::operator=().
|
virtual |
Reimplemented from Mapping.
References className, GenericDataBase::create(), matrix, matrixInverse, GenericDataBase::put(), Mapping::put(), and GenericDataBase::virtualConstructor().
void MatrixMapping::reset | ( | ) |
References matrix, and matrixInverse.
Referenced by MatrixTransform::reset(), and MatrixTransform::update().
void MatrixMapping::rotate | ( | const int | axis, |
const real | theta | ||
) |
References Mapping::debug, Mapping::getInvertible(), i2, matrix, matrixInverse, matrixInversion(), and matrixMatrixProduct().
Referenced by rotate(), MatrixTransform::rotate(), and MatrixTransform::update().
void MatrixMapping::rotate | ( | const RealArray & | rotate, |
bool | incremental = false |
||
) |
void MatrixMapping::scale | ( | const real | scalex = 1. , |
const real | scaley = 1. , |
||
const real | scalez = 1. , |
||
bool | incremental = true |
||
) |
References FALSE, Mapping::getInvertible(), matrix, matrixInverse, matrixInversion(), matrixMatrixProduct(), Mapping::setInvertible(), xAxis, yAxis, and zAxis.
Referenced by MatrixTransform::scale(), and MatrixTransform::update().
void MatrixMapping::shift | ( | const real | shiftx = 1. , |
const real | shifty = 1. , |
||
const real | shiftz = 1. , |
||
bool | incremental = true |
||
) |
References Mapping::getInvertible(), matrix, matrixInverse, matrixInversion(), matrixMatrixProduct(), xAxis, yAxis, and zAxis.
Referenced by MatrixTransform::shift(), and MatrixTransform::update().
|
protected |
Referenced by get(), getClassName(), make(), MatrixMapping(), operator=(), and put().
RealArray MatrixMapping::matrix |
Referenced by get(), map(), mapS(), MatrixMapping(), operator=(), put(), reset(), rotate(), scale(), and shift().
RealArray MatrixMapping::matrixInverse |
Referenced by get(), inverseMap(), inverseMapS(), MatrixMapping(), operator=(), put(), reset(), rotate(), scale(), and shift().