Computer Assited Medical Intervention Tool Kit  version 5.0
lml/Force.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2021 Univ. Grenoble Alpes, CNRS, Grenoble INP, TIMC, 38000 Grenoble, France
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef FORCE_H
27 #define FORCE_H
28 #include "ForceUnit.h"
29 #include "Load.h"
37 class Force : public Load {
38 
39 public:
41  Force();
42 
46  void ansysPrint(std::ostream&) const override;
47 
48 };
49 
50 #endif //FORCE_H
51 
52 
53 
Criterion
Class which represents a simple criterion A criterion can be checked using checkCriterion method to k...
Definition: Criterion.h:47
Criterion::unit
std::string unit
unit
Definition: Criterion.h:112
ForceCriterion::ForceCriterion
ForceCriterion(mml::Force *c, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr)
constructor
Definition: mml/monitoring/Force.cpp:32
Load
Class that describes a load to be used in the simulation. This load can have different types Translat...
Definition: Load.h:53
Load::typeString
std::string typeString
Definition: Load.h:199
ForceUnit::N
static ForceUnit & N()
Newtons.
Definition: ForceUnit.cpp:35
ForceCriterion::calculate
void calculate() override
calculate stopping criteria data and store it into values vector
Definition: mml/monitoring/Force.cpp:51
Criterion::factor
double factor
factor to multiplate for conversion to SI
Definition: Criterion.h:102
ForceCriterion::~ForceCriterion
~ForceCriterion() override
destructor
Definition: mml/monitoring/Force.cpp:48
Load.h
Load::ansysPrint
virtual void ansysPrint(std::ostream &) const
Print the load in ansys format (BEWARE: not everything is implemented)
Definition: Load.cpp:321
ForceUnit.h
MonitoringManager
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
Force::Force
Force()
default constructor
Definition: lml/Force.cpp:29
Force.h
Force.h
ForceCriterion::getName
std::string getName() override
get stopping criterion name
Definition: mml/monitoring/Force.cpp:54
Load::unit
Unit unit
Definition: Load.h:198
MultipleCriterion
class which represents a multiple criterion a multiple criterion is either an OrMUltipleCriterion or ...
Definition: MultipleCriterion.h:45
Force::ansysPrint
void ansysPrint(std::ostream &) const override
Redefinition of ansysPrint to print in ansys format.
Definition: lml/Force.cpp:34
Force
Class that defines the type of Load 'Force'.
Definition: lml/Force.h:37