ug4
pyramid_rules.cpp File Reference
#include <cassert>
#include "pyramid_rules.h"
#include "rule_util.h"
#include "grid_object_ids.h"

Namespaces

 ug
 the ug namespace
 
 ug::pyra_rules
 

Functions

int ug::pyra_rules::CollapseEdge (int *newIndsOut, int v0, int v1)
 Creates new volume elements that result from collapsing the edge between v0 and v1 into v0. More...
 
bool ug::pyra_rules::IsRegularRefRule (const int edgeMarks)
 returns true if the specified edgeMarks would lead to a regular refinement More...
 
int ug::pyra_rules::Refine (int *newIndsOut, int *newEdgeVrts, bool &newCenterOut, vector3 *, bool *isSnapPoint)
 
void ug::pyra_rules::RotatePyramid (int vrtsOut[NUM_VERTICES], int steps)
 Output are the vertices of a pyramid rotated around its vertical axis. More...