7#ifndef SVZERODSOLVER_MODEL_NODE_HPP_
8#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:75
Degree-of-freedom handler.
Definition DOFHandler.h:21
Model of 0D elements.
Definition Model.h:48
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:8
Model * model
The model to which the node belongs.
Definition Node.h:42
std::vector< Block * > inlet_eles
Inlet element of the node.
Definition Node.h:40
std::string get_name()
Get the name of the node.
Definition Node.cpp:24
int pres_dof
Global pressure degree-of-freedom of the node.
Definition Node.h:45
int flow_dof
Global flow degree-of-freedom of the node.
Definition Node.h:44
int id
Global ID of the block.
Definition Node.h:39
std::vector< Block * > outlet_eles
Outlet element of the node.
Definition Node.h:41
void setup_dofs(DOFHandler &dofhandler)
Set up the degrees of freedom (DOF) of the block.
Definition Node.cpp:26