FhSim
3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
CLowPass.h
1
#ifndef CLowPass_H
2
#define CLowPass_H
3
57
#include <fhsim/simobject/SimObject.h>
58
59
class
CLowPass
:
public
SimObject
60
{
61
public
:
63
CLowPass
(std::string sSimObjectName, ISimObjectCreator* pCreator);
64
~CLowPass
();
65
66
void
InitialConditionSetup(
const
double
T,
const
double
*
const
currentIC,
double
*
const
updatedIC, ISimObjectCreator*
const
creator);
67
68
void
OdeFcn(
const
double
dT,
const
double
*
const
adX,
double
*
const
adXDot)
const
;
69
70
bool
HasJacobians()
const override
;
71
void
OdeJacobian(
double
T,
const
double
* X,
double
* J,
int
nStates)
override
;
72
int
GetJacobianSparsity(
int
nStates,
int
* rowPtr,
int
* colIdx)
override
;
73
74
bool
HasPortJacobians()
const override
;
75
void
OutputPortJacobian(
const
std::string& portName,
double
T,
const
double
* X,
76
double
* dPort_dX,
int
portSize,
int
nStates,
int
index = -1)
override
;
77
void
InputPortJacobian(
const
std::string& portName,
double
T,
const
double
* X,
78
double
* dF_dInput,
int
portSize,
int
nStates)
override
;
79
80
const
double
* Output(
const
double
T,
const
double
*
const
X);
81
82
83
84
protected
:
85
int
m_iPortWidth;
86
bool
m_bIsUniform;
87
ISignalPort* m_Input;
88
double
* m_dConvergenceTimeConstantInv;
89
int
m_current_signal;
90
};
91
92
93
#endif
CLowPass
Definition
CLowPass.h:60
CLowPass::CLowPass
CLowPass(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.
webfhsim
reloadrepos
fhsim_base
src
filters
CLowPass.h
Generated on Mon Oct 26 2026 12:16:38 for FhSim by
1.9.8