forked from SofaDefrost/ModelOrderReduction
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHyperReducedTetrahedronFEMForceField.cpp
More file actions
42 lines (34 loc) · 2.08 KB
/
HyperReducedTetrahedronFEMForceField.cpp
File metadata and controls
42 lines (34 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/******************************************************************************
* Model Order Reduction plugin for SOFA *
* version 1.0 *
* Copyright © Inria *
* All rights reserved *
* 2018 *
* *
* This software is under the GNU General Public License v2 (GPLv2) *
* https://www.gnu.org/licenses/licenses.en.html *
* *
* *
* *
* Authors: Olivier Goury, Felix Vanneste *
* *
* Contact information: https://project.inria.fr/modelorderreduction/contact *
******************************************************************************/
#define SOFA_COMPONENT_FORCEFIELD_HYPERREDUCEDTETRAHEDRONFEMFORCEFIELD_CPP
#include <ModelOrderReduction/component/forcefield/HyperReducedTetrahedronFEMForceField.inl>
#include <sofa/defaulttype/VecTypes.h>
#include <sofa/core/ObjectFactory.h>
#include <assert.h>
#include <ModelOrderReduction/config.h>
namespace sofa::component::forcefield
{
using namespace sofa::defaulttype;
SOFA_DECL_CLASS(HyperReducedTetrahedronFEMForceField)
// Register in the Factory
void registerHyperReducedTetrahedronFEMForceField(sofa::core::ObjectFactory* factory)
{
factory->registerObjects(sofa::core::ObjectRegistrationData("Tetrahedral finite elements")
.add< HyperReducedTetrahedronFEMForceField<Vec3Types> >());
}
template class SOFA_MODELORDERREDUCTION_API HyperReducedTetrahedronFEMForceField<Vec3Types>;
} // namespace sofa::component::forcefield