Public Member Functions | |
RectangleDomain (const Array< int > &n) | |
RectangleDomain (double ax, double bx, const Array< int > &nx, double ay, double by, const Array< int > &ny) | |
int | numMeshes () const |
const CellFilter & | north () const |
const CellFilter & | south () const |
const CellFilter & | east () const |
const CellFilter & | west () const |
const CellFilter & | interior () const |
const Mesh & | mesh (int i) const |
double | ax () const |
double | bx () const |
int | nx (int i) const |
double | ay () const |
double | by () const |
int | ny (int i) const |
Private Member Functions | |
void | init () |
Private Attributes | |
double | ax_ |
double | bx_ |
Array< int > | nx_ |
double | ay_ |
double | by_ |
Array< int > | ny_ |
CellFilter | interior_ |
CellFilter | north_ |
CellFilter | south_ |
CellFilter | east_ |
CellFilter | west_ |
Array< Mesh > | mesh_ |
Definition at line 122 of file SundanceProblemTesting.hpp.
Sundance::RectangleDomain::RectangleDomain | ( | const Array< int > & | n | ) |
Contruct the unit square
Definition at line 153 of file SundanceProblemTesting.cpp.
References init().
Sundance::RectangleDomain::RectangleDomain | ( | double | ax, | |
double | bx, | |||
const Array< int > & | nx, | |||
double | ay, | |||
double | by, | |||
const Array< int > & | ny | |||
) |
double Sundance::RectangleDomain::ax | ( | ) | const [inline] |
double Sundance::RectangleDomain::ay | ( | ) | const [inline] |
double Sundance::RectangleDomain::bx | ( | ) | const [inline] |
double Sundance::RectangleDomain::by | ( | ) | const [inline] |
const CellFilter& Sundance::RectangleDomain::east | ( | ) | const [inline] |
void Sundance::RectangleDomain::init | ( | ) | [private] |
Definition at line 173 of file SundanceProblemTesting.cpp.
References ax_, ay_, Sundance::PartitionedRectangleMesher::balanceXY(), bx_, by_, east_, Sundance::MeshSource::getMesh(), Playa::MPIComm::getNProc(), mesh_, north_, nx_, ny_, south_, Sundance::CellFilter::subset(), west_, and Playa::MPIComm::world().
Referenced by RectangleDomain().
const CellFilter& Sundance::RectangleDomain::interior | ( | ) | const [inline] |
Definition at line 150 of file SundanceProblemTesting.hpp.
References interior_.
Referenced by Sundance::LPRectTestBase::interior().
const Mesh& Sundance::RectangleDomain::mesh | ( | int | i | ) | const [inline] |
Definition at line 153 of file SundanceProblemTesting.hpp.
References mesh_.
Referenced by Sundance::LPRectTestBase::getMesh().
const CellFilter& Sundance::RectangleDomain::north | ( | ) | const [inline] |
int Sundance::RectangleDomain::numMeshes | ( | ) | const [inline] |
Definition at line 135 of file SundanceProblemTesting.hpp.
References mesh_.
Referenced by Sundance::LPRectTestBase::numMeshes().
int Sundance::RectangleDomain::nx | ( | int | i | ) | const [inline] |
int Sundance::RectangleDomain::ny | ( | int | i | ) | const [inline] |
const CellFilter& Sundance::RectangleDomain::south | ( | ) | const [inline] |
const CellFilter& Sundance::RectangleDomain::west | ( | ) | const [inline] |
double Sundance::RectangleDomain::ax_ [private] |
double Sundance::RectangleDomain::ay_ [private] |
double Sundance::RectangleDomain::bx_ [private] |
double Sundance::RectangleDomain::by_ [private] |
CellFilter Sundance::RectangleDomain::east_ [private] |
Array<Mesh> Sundance::RectangleDomain::mesh_ [private] |
Definition at line 187 of file SundanceProblemTesting.hpp.
Referenced by init(), mesh(), and numMeshes().
CellFilter Sundance::RectangleDomain::north_ [private] |
Array<int> Sundance::RectangleDomain::nx_ [private] |
Array<int> Sundance::RectangleDomain::ny_ [private] |
CellFilter Sundance::RectangleDomain::south_ [private] |
CellFilter Sundance::RectangleDomain::west_ [private] |