v1.0
PController.h
Go to the documentation of this file.
1
// This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2
// Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3
// License: BSD 3-Clause License; see the LICENSE file in the root directory.
4
5
//
6
// Created by reza on 11-01-21.
7
//
8
9
#ifndef MERCURYDPM_PCONTROLLER_H
10
#define MERCURYDPM_PCONTROLLER_H
11
#include "
Math/ExtendedMath.h
"
12
13
class
PController
{
14
Mdouble
pGain
;
15
public
:
16
17
PController
(
Mdouble
pGain
);
18
19
Mdouble
apply
(
Mdouble
stressError,
Mdouble
timeStep);
20
};
21
22
23
#endif
//MERCURYDPM_PCONTROLLER_H
ExtendedMath.h
PController
Definition:
PController.h:13
PController::PController
PController(Mdouble pGain)
Definition:
PController.cc:10
PController::pGain
Mdouble pGain
Definition:
PController.h:14
PController::apply
Mdouble apply(Mdouble stressError, Mdouble timeStep)
Definition:
PController.cc:20
double
Kernel
Controllers
PController.h
Generated on Wed Aug 27 2025 17:02:08 for MercuryDPM by
1.9.1