KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
DEM_application.h
Go to the documentation of this file.
1 // Last Modified by: $Author: Salva Latorre
2 // Date: $Date: 20151209
3 // Revision: $Revision: 1.2 $
4 //
5 
6 #if !defined(KRATOS_DEM_APPLICATION_H_INCLUDED)
7 #define KRATOS_DEM_APPLICATION_H_INCLUDED
8 
9 // System includes
10 #include <string>
11 #include <iostream>
12 
13 // External includes
14 #include "includes/define.h"
38 
39 namespace Kratos
40 {
41 
42 class KRATOS_API(DEM_APPLICATION) KratosDEMApplication : public KratosApplication
43 {
44 public:
48 
51 
53  virtual ~KratosDEMApplication() {}
54 
55  virtual void Register() override;
56 
58  virtual std::string Info() const override
59  {
60  return "KratosDEMApplication";
61  }
62 
64  virtual void PrintInfo(std::ostream& rOStream) const override
65  {
66  rOStream << Info();
67  PrintData(rOStream);
68  }
69 
71  virtual void PrintData(std::ostream& rOStream) const override
72  {
73  rOStream << "Variables:" << std::endl;
75  rOStream << std::endl;
76  rOStream << "Elements:" << std::endl;
77  KratosComponents<Element>().PrintData(rOStream);
78  rOStream << std::endl;
79  rOStream << "Conditions:" << std::endl;
80  KratosComponents<Condition>().PrintData(rOStream);
81  }
82 
83 protected:
84 
85 private:
86 
87  const CylinderParticle mCylinderParticle2D;
88  const CylinderContinuumParticle mCylinderContinuumParticle2D;
89  const SphericParticle mSphericParticle3D;
90  const NanoParticle mNanoParticle3D;
91  const AnalyticSphericParticle mAnalyticSphericParticle3D;
92  const SphericContinuumParticle mSphericContinuumParticle3D;
93  const PolyhedronSkinSphericParticle mPolyhedronSkinSphericParticle3D;
94  const IceContinuumParticle mIceContinuumParticle3D;
95  const BeamParticle mBeamParticle3D;
96  const BondingSphericContinuumParticle mBondingSphericContinuumParticle3D;
97  const ParticleContactElement mParticleContactElement;
98  const SolidFace3D mSolidFace3D3N;
99  const SolidFace3D mSolidFace3D4N;
100  const RigidFace3D mRigidFace3D2N;
101  const RigidFace3D mRigidFace3D3N;
102  const RigidFace3D mRigidFace3D4N;
103  const RigidFace3D mRigidFace3D1N;
104  const AnalyticRigidFace3D mAnalyticRigidFace3D3N;
105  const RigidEdge2D mRigidEdge2D2N;
106  const RigidEdge2D mRigidEdge2D1N;
107  const RigidBodyElement3D mRigidBodyElement3D;
108  const ShipElement3D mShipElement3D;
109  const ContactInfoSphericParticle mContactInfoSphericParticle3D;
110  const Cluster3D mCluster3D;
111  const SingleSphereCluster3D mSingleSphereCluster3D;
112  const MAPcond mMapCon3D3N;
113 
114  // static const ApplicationCondition msApplicationCondition;
116 
119 
120 }; // Class KratosDEMApplication
121 
122 } // namespace Kratos.
123 
124 #endif // KRATOS_DEM_APPLICATION_H_INCLUDED defined
125 
126 
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Definition: analytic_RigidFace.h:15
Definition: analytic_spheric_particle.h:19
Definition: beam_particle.h:17
Definition: bonding_spheric_continuum_particle.h:25
Definition: cluster3D.h:29
Definition: contact_info_spheric_particle.h:19
Definition: cylinder_continuum_particle.h:21
Definition: cylinder_particle.h:26
Definition: ice_continuum_particle.h:18
This class defines the interface with kernel for all applications in Kratos.
Definition: kratos_application.h:91
Definition: kratos_components.h:253
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: kratos_components.h:403
Definition: DEM_application.h:43
virtual std::string Info() const override
Turn back information as a string.
Definition: DEM_application.h:58
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: DEM_application.h:71
virtual ~KratosDEMApplication()
Destructor.
Definition: DEM_application.h:53
KRATOS_CLASS_POINTER_DEFINITION(KratosDEMApplication)
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: DEM_application.h:64
Definition: mapping_condition.h:29
Definition: nanoparticle.h:19
Definition: Particle_Contact_Element.h:28
Definition: polyhedron_skin_spheric_particle.h:19
Definition: rigid_body_element.h:31
Definition: RigidEdge.h:24
Definition: RigidFace.h:21
Definition: ship_element.h:22
Definition: singlespherecluster3D.h:38
Definition: SolidFace.h:22
Definition: spheric_continuum_particle.h:26
Definition: spheric_particle.h:31
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KRATOS_API_EXTERN template class KratosComponents< Condition >
Definition: condition.h:1191
KRATOS_API_EXTERN template class KratosComponents< Element >
Definition: element.h:1240