#include <RadMesh.h>
Inheritance diagram for GridBase:
Public Members | |||
![]() | ![]() | Void | Mesh (GCLReal density) |
![]() | ![]() | virtual RadElemPtr | AddChild (RadElem &elem, Int i, Int j, Int in, Int jn) = 0 |
![]() | ![]() | Append a copy of the given elem to the elem list. | |
![]() | ![]() | Int | FindChildIndex (Coord &coord) |
![]() | ![]() | Map from coord to the child that contains it. | |
![]() | ![]() | Int | rows |
![]() | ![]() | Int | cols |
First a diagram to give some context. We will be adding elements to a mesh in horizontal strips.
Quad strip: +-+-+-+-+-+ |0|1|2|3|4| +-+-+-+-+-+ |5|6|7| ... +-+-+-O Tri strip: 0 + |\ |\ |0\ Orientation: | \ +--+ 1 +--+ 2 |\2|\ |1\|3\ 0 +--+ 2 +--+--+ \ | |\5|\ and: \| |4\|6\ ... + 1 +--+--O
Definition at line 250 of file RadMesh.h.
RadElemPtr GridBase::AddChild (RadElem & elem, Int i, Int j, Int in, Int jn) [inline, pure virtual]
|
Int GridBase::FindChildIndex (Coord & coord) |
Void GridBase::Mesh (GCLReal density) |
Definition at line 1186 of file RadMesh.cc.
Int GridBase::cols |
Int GridBase::rows |