34#ifndef SVZERODSOLVER_MODEL_NODE_HPP_
35#define SVZERODSOLVER_MODEL_NODE_HPP_
Specifies the types of blocks and their parameters.
model::DOFHandler source file
Base class for 0D model components.
Definition Block.h:101
Degree-of-freedom handler.
Definition DOFHandler.h:48
Model of 0D elements.
Definition Model.h:75
Node.
Definition Node.h:53
Node(int id, const std::vector< Block * > &inlet_eles, const std::vector< Block * > &outlet_eles, Model *model)
Construct a new Node object.
Definition Node.cpp:36
Model * model
The model to which the node belongs.
Definition Node.h:69
std::vector< Block * > inlet_eles
Inlet element of the node.
Definition Node.h:67
std::string get_name()
Get the name of the node.
Definition Node.cpp:52
int pres_dof
Global pressure degree-of-freedom of the node.
Definition Node.h:72
int flow_dof
Global flow degree-of-freedom of the node.
Definition Node.h:71
int id
Global ID of the block.
Definition Node.h:66
std::vector< Block * > outlet_eles
Outlet element of the node.
Definition Node.h:68
void setup_dofs(DOFHandler &dofhandler)
Set up the degrees of freedom (DOF) of the block.
Definition Node.cpp:54