forked from KratosMultiphysics/Kratos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEM_application.h
executable file
·126 lines (105 loc) · 4.2 KB
/
DEM_application.h
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// Last Modified by: $Author: Salva Latorre
// Date: $Date: 20151209
// Revision: $Revision: 1.2 $
//
#if !defined(KRATOS_DEM_APPLICATION_H_INCLUDED)
#define KRATOS_DEM_APPLICATION_H_INCLUDED
// System includes
#include <string>
#include <iostream>
// External includes
#include "includes/define.h"
#include "DEM_application_variables.h"
#include "includes/kratos_application.h"
#include "custom_elements/cylinder_particle.h"
#include "custom_elements/cylinder_continuum_particle.h"
#include "custom_elements/spheric_particle.h"
#include "custom_elements/spheric_continuum_particle.h"
#include "custom_elements/polyhedron_skin_spheric_particle.h"
#include "custom_elements/nanoparticle.h"
#include "custom_elements/analytic_spheric_particle.h"
#include "custom_elements/beam_particle.h"
#include "custom_elements/ice_continuum_particle.h"
#include "custom_elements/Particle_Contact_Element.h"
#include "custom_elements/cluster3D.h"
#include "custom_elements/rigid_body_element.h"
#include "custom_elements/ship_element.h"
#include "custom_elements/contact_info_spheric_particle.h"
#include "custom_elements/bonding_spheric_continuum_particle.h"
#include "custom_elements/custom_clusters/singlespherecluster3D.h"
#include "custom_conditions/mapping_condition.h"
#include "custom_conditions/SolidFace.h"
#include "custom_conditions/RigidFace.h"
#include "custom_conditions/analytic_RigidFace.h"
#include "custom_conditions/RigidEdge.h"
namespace Kratos
{
class KRATOS_API(DEM_APPLICATION) KratosDEMApplication : public KratosApplication
{
public:
///@name Type Definitions
///@{
KRATOS_CLASS_POINTER_DEFINITION(KratosDEMApplication);
/// Default constructor.
KratosDEMApplication();
/// Destructor.
virtual ~KratosDEMApplication() {}
virtual void Register() override;
/// Turn back information as a string.
virtual std::string Info() const override
{
return "KratosDEMApplication";
}
/// Print information about this object.
virtual void PrintInfo(std::ostream& rOStream) const override
{
rOStream << Info();
PrintData(rOStream);
}
///// Print object's data.
virtual void PrintData(std::ostream& rOStream) const override
{
rOStream << "Variables:" << std::endl;
KratosComponents<VariableData>().PrintData(rOStream);
rOStream << std::endl;
rOStream << "Elements:" << std::endl;
KratosComponents<Element>().PrintData(rOStream);
rOStream << std::endl;
rOStream << "Conditions:" << std::endl;
KratosComponents<Condition>().PrintData(rOStream);
}
protected:
private:
const CylinderParticle mCylinderParticle2D;
const CylinderContinuumParticle mCylinderContinuumParticle2D;
const SphericParticle mSphericParticle3D;
const NanoParticle mNanoParticle3D;
const AnalyticSphericParticle mAnalyticSphericParticle3D;
const SphericContinuumParticle mSphericContinuumParticle3D;
const PolyhedronSkinSphericParticle mPolyhedronSkinSphericParticle3D;
const IceContinuumParticle mIceContinuumParticle3D;
const BeamParticle mBeamParticle3D;
const BondingSphericContinuumParticle mBondingSphericContinuumParticle3D;
const ParticleContactElement mParticleContactElement;
const SolidFace3D mSolidFace3D3N;
const SolidFace3D mSolidFace3D4N;
const RigidFace3D mRigidFace3D2N;
const RigidFace3D mRigidFace3D3N;
const RigidFace3D mRigidFace3D4N;
const RigidFace3D mRigidFace3D1N;
const AnalyticRigidFace3D mAnalyticRigidFace3D3N;
const RigidEdge2D mRigidEdge2D2N;
const RigidEdge2D mRigidEdge2D1N;
const RigidBodyElement3D mRigidBodyElement3D;
const ShipElement3D mShipElement3D;
const ContactInfoSphericParticle mContactInfoSphericParticle3D;
const Cluster3D mCluster3D;
const SingleSphereCluster3D mSingleSphereCluster3D;
const MAPcond mMapCon3D3N;
// static const ApplicationCondition msApplicationCondition;
KratosDEMApplication& operator=(KratosDEMApplication const& rOther);
/// Copy constructor.
KratosDEMApplication(KratosDEMApplication const& rOther);
}; // Class KratosDEMApplication
} // namespace Kratos.
#endif // KRATOS_DEM_APPLICATION_H_INCLUDED defined