FreePOOMA
2.4.1
|
Interval<Dim> shrinking and growing domains. More...
Functions | |
template<int Dim> | |
Interval< Dim > & | shrinkRightInPlace (Interval< Dim > &dom, const Loc< Dim > &s) |
Deprecated. Use shrinkRight(). | |
template<int Dim> | |
Interval< Dim > & | shrinkRightInPlace (Interval< Dim > &dom, int s) |
Deprecated. Use shrinkRight(). | |
template<int Dim> | |
Interval< Dim > & | growRightInPlace (Interval< Dim > &dom, const Loc< Dim > &s) |
Deprecated. Use growRight(). | |
template<int Dim> | |
Interval< Dim > & | growRightInPlace (Interval< Dim > &dom, int s) |
Deprecated. Use growRight(). | |
template<int Dim> | |
Interval< Dim > & | shrinkLeftInPlace (Interval< Dim > &dom, const Loc< Dim > &s) |
Deprecated. Use shrinkLeft(). | |
template<int Dim> | |
Interval< Dim > & | shrinkLeftInPlace (Interval< Dim > &dom, int s) |
Deprecated. Use shrinkLeft(). | |
template<int Dim> | |
Interval< Dim > & | growLeftInPlace (Interval< Dim > &dom, const Loc< Dim > &s) |
Deprecated. Use growLeft(). | |
template<int Dim> | |
Interval< Dim > & | growLeftInPlace (Interval< Dim > &dom, int s) |
Deprecated. Use growLeft(). | |
template<int Dim> | |
Interval< Dim > | shrinkRight (const Interval< Dim > &dom, const Loc< Dim > &s) |
Shrinks the Interval dom from the right by s[i] in direction i. | |
template<int Dim> | |
Interval< Dim > | shrinkRight (const Interval< Dim > &dom, int s) |
Shrinks the Interval dom from the right by s in every direction. | |
template<int Dim> | |
Interval< Dim > | growRight (const Interval< Dim > &dom, const Loc< Dim > &s) |
Grows the Interval dom to the right by s[i] in direction i. | |
template<int Dim> | |
Interval< Dim > | growRight (const Interval< Dim > &dom, int s) |
Grows the Interval dom to the right by s in every direction. | |
template<int Dim> | |
Interval< Dim > | shrinkLeft (const Interval< Dim > &dom, const Loc< Dim > &s) |
Shrinks the Interval dom from the left by s[i] in direction i. | |
template<int Dim> | |
Interval< Dim > | shrinkLeft (const Interval< Dim > &dom, int s) |
Shrinks the Interval dom from the left by s in every direction. | |
template<int Dim> | |
Interval< Dim > | growLeft (const Interval< Dim > &dom, const Loc< Dim > &s) |
Grows the Interval dom to the left by s[i] in direction i. | |
template<int Dim> | |
Interval< Dim > | growLeft (const Interval< Dim > &dom, int s) |
Grows the Interval dom to the left by s in every direction. | |
template<int Dim> | |
Interval< Dim > | grow (const Interval< Dim > &dom, int s) |
Grows the interval dom by s on each side/dim. | |
template<int Dim> | |
Interval< Dim > | grow (const Interval< Dim > &dom, const Loc< Dim > &s) |
Grows the interval dom by s[i] on each side in direction i. | |
template<int Dim> | |
Interval< Dim > | shrink (const Interval< Dim > &dom, int s) |
Shrinks the interval dom by s on each side/dim. | |
template<int Dim> | |
Interval< Dim > | shrink (const Interval< Dim > &dom, const Loc< Dim > &s) |
Shrinks the interval dom by s[i] on each side in direction i. |
Interval<Dim> shrinking and growing domains.
Shrinking and growing domains can be done asymmetrically by one of the shrinkLeft, shrinkRight, growLeft or growRight variants. Symmetric shrinking and growing can be done using the overloaded shrink function.
Examples:
Interval<Dim>& shrinkRightInPlace | ( | Interval< Dim > & | dom, |
const Loc< Dim > & | s | ||
) |
Deprecated. Use shrinkRight().
Referenced by FieldEngine< Mesh, T, EngineTag >::FieldEngine().
Interval<Dim>& shrinkRightInPlace | ( | Interval< Dim > & | dom, |
int | s | ||
) |
Deprecated. Use shrinkRight().
Interval<Dim>& growRightInPlace | ( | Interval< Dim > & | dom, |
const Loc< Dim > & | s | ||
) |
Deprecated. Use growRight().
Interval<Dim>& growRightInPlace | ( | Interval< Dim > & | dom, |
int | s | ||
) |
Deprecated. Use growRight().
Interval<Dim>& shrinkLeftInPlace | ( | Interval< Dim > & | dom, |
const Loc< Dim > & | s | ||
) |
Deprecated. Use shrinkLeft().
Interval<Dim>& shrinkLeftInPlace | ( | Interval< Dim > & | dom, |
int | s | ||
) |
Deprecated. Use shrinkLeft().
Interval<Dim>& growLeftInPlace | ( | Interval< Dim > & | dom, |
const Loc< Dim > & | s | ||
) |
Deprecated. Use growLeft().
Interval<Dim>& growLeftInPlace | ( | Interval< Dim > & | dom, |
int | s | ||
) |
Deprecated. Use growLeft().
Interval<Dim> shrinkRight | ( | const Interval< Dim > & | dom, |
const Loc< Dim > & | s | ||
) | [inline] |
Shrinks the Interval dom from the right by s[i] in direction i.
Referenced by cellDomainToCenteringDomain(), and centeringDomainToCellDomain().
Interval<Dim> shrinkRight | ( | const Interval< Dim > & | dom, |
int | s | ||
) | [inline] |
Shrinks the Interval dom from the right by s in every direction.
Interval<Dim> growRight | ( | const Interval< Dim > & | dom, |
const Loc< Dim > & | s | ||
) | [inline] |
Grows the Interval dom to the right by s[i] in direction i.
Referenced by cellDomainToCenteringDomain(), centeringDomainToCellDomain(), Pooma::PoomaDA< Dim >::initialize(), FieldEngine< Mesh, T, EngineTag >::inputDomainToVertexDomain(), and FieldEngine< Mesh, T, EngineTag >::translateToVertexDomain().
Grows the Interval dom to the right by s in every direction.
Interval<Dim> shrinkLeft | ( | const Interval< Dim > & | dom, |
const Loc< Dim > & | s | ||
) | [inline] |
Shrinks the Interval dom from the left by s[i] in direction i.
Interval<Dim> shrinkLeft | ( | const Interval< Dim > & | dom, |
int | s | ||
) | [inline] |
Shrinks the Interval dom from the left by s in every direction.
Interval<Dim> growLeft | ( | const Interval< Dim > & | dom, |
const Loc< Dim > & | s | ||
) | [inline] |
Grows the Interval dom to the left by s[i] in direction i.
Referenced by Pooma::PoomaDA< Dim >::initialize().
Grows the Interval dom to the left by s in every direction.
Grows the interval dom by s on each side/dim.
Referenced by DomainLayout< Dim >::initialize(), SimpleIntersectorData< Dim >::intersect(), and FieldEngine< Mesh, T, EngineTag >::totalCellDomain().
Grows the interval dom by s[i] on each side in direction i.
Shrinks the interval dom by s on each side/dim.