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

Namespaces

 ug
 the ug namespace
 
 ug::prism_rules
 

Functions

int ug::prism_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...
 
void ug::prism_rules::FlipPrism (int vrtsOut[NUM_VERTICES], const int vrts[NUM_VERTICES])
 
bool ug::prism_rules::IsRegularRefRule (const int edgeMarks)
 returns true if the specified edgeMarks would lead to a regular refinement More...
 
int ug::prism_rules::Refine (int *newIndsOut, int *newEdgeVrts, bool &newCenterOut, vector3 *, bool *isSnapPoint)
 
void ug::prism_rules::RotatePrism (int vrtsOut[NUM_VERTICES], int steps)
 Output are the vertices of a prism rotated around its vertical axis. More...