Peano
Loading...
Searching...
No Matches
toolbox::curvi::InnerNode Class Reference

#include <InnerNode.h>

Inheritance diagram for toolbox::curvi::InnerNode:
Collaboration diagram for toolbox::curvi::InnerNode:

Public Member Functions

 InnerNode (const YAML::Node &node)
 
 ~InnerNode ()
 
std::string toString (int depth=0)
 
void init (BlockBoundary &boundary, uint modes[3])
 
BlockBoundary traverse (int a_index[3])
 
BlockBoundary traverseProjection (double coordinate[3])
 
Block traverse ()
 
void setPosition (double a_position)
 
double getPosition ()
 
void getCoordinates (Coordinate a_coords[2])
 
Coordinate getFaceNormal ()
 
double evalPerturbation (double y, double x)
 
void checkInit ()
 
bool isLeaf () const
 

Private Attributes

bool isInit
 
Coordinate coords [2]
 
double position
 
int index
 
easi::Component * model
 
std::function< double(double, double)> perturbation
 
Node * left
 
Node * right
 

Detailed Description

Definition at line 9 of file InnerNode.h.

Constructor & Destructor Documentation

◆ InnerNode()

toolbox::curvi::InnerNode::InnerNode ( const YAML::Node &  node)

◆ ~InnerNode()

toolbox::curvi::InnerNode::~InnerNode ( )

Member Function Documentation

◆ checkInit()

void toolbox::curvi::InnerNode::checkInit ( )

◆ evalPerturbation()

double toolbox::curvi::InnerNode::evalPerturbation ( double  y,
double  x 
)

◆ getCoordinates()

void toolbox::curvi::InnerNode::getCoordinates ( Coordinate  a_coords[2])

◆ getFaceNormal()

Coordinate toolbox::curvi::InnerNode::getFaceNormal ( )

◆ getPosition()

double toolbox::curvi::InnerNode::getPosition ( )

◆ init()

void toolbox::curvi::InnerNode::init ( BlockBoundary &  boundary,
uint  modes[3] 
)
virtual

Implements toolbox::curvi::Node.

◆ isLeaf()

bool toolbox::curvi::InnerNode::isLeaf ( ) const

Definition at line 37 of file InnerNode.h.

◆ setPosition()

void toolbox::curvi::InnerNode::setPosition ( double  a_position)

◆ toString()

std::string toolbox::curvi::InnerNode::toString ( int  depth = 0)
virtual

Implements toolbox::curvi::Node.

◆ traverse() [1/2]

Block toolbox::curvi::InnerNode::traverse ( )
virtual

Implements toolbox::curvi::Node.

◆ traverse() [2/2]

BlockBoundary toolbox::curvi::InnerNode::traverse ( int  a_index[3])
virtual

Implements toolbox::curvi::Node.

◆ traverseProjection()

BlockBoundary toolbox::curvi::InnerNode::traverseProjection ( double  coordinate[3])
virtual

Implements toolbox::curvi::Node.

Field Documentation

◆ coords

Coordinate toolbox::curvi::InnerNode::coords[2]
private

Definition at line 43 of file InnerNode.h.

◆ index

int toolbox::curvi::InnerNode::index
private

Definition at line 45 of file InnerNode.h.

◆ isInit

bool toolbox::curvi::InnerNode::isInit
private

Definition at line 41 of file InnerNode.h.

◆ left

Node* toolbox::curvi::InnerNode::left
private

Definition at line 50 of file InnerNode.h.

◆ model

◆ perturbation

std::function<double(double, double)> toolbox::curvi::InnerNode::perturbation
private

Definition at line 47 of file InnerNode.h.

◆ position

double toolbox::curvi::InnerNode::position
private

Definition at line 44 of file InnerNode.h.

◆ right

Node* toolbox::curvi::InnerNode::right
private

Definition at line 51 of file InnerNode.h.


The documentation for this class was generated from the following file: