🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
BlockDerivative.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "AstCore/FuncBlock.hpp"
25
26AST_NAMESPACE_BEGIN
27
28
33class AST_CORE_API BlockDerivative: public FuncBlock
34{
35public:
37 ~BlockDerivative() override = default;
38
40 const std::vector<DataPort>& getDerivativePorts() const { return derivativePorts_; }
41 std::vector<DataPort>& getDerivativePorts() { return derivativePorts_; }
42
43protected:
44 std::vector<DataPort> derivativePorts_; // 导数端口
45};
46
47AST_NAMESPACE_END
导数函数块
定义 BlockDerivative.hpp:34
~BlockDerivative() override=default
析构函数
const std::vector< DataPort > & getDerivativePorts() const
获取导数端口
定义 BlockDerivative.hpp:40
函数块/功能块
定义 FuncBlock.hpp:39