25 #include "libmesh/libmesh_config.h" 26 #include "libmesh/petsc_macro.h" 27 #include "libmesh/linear_implicit_system.h" 37 EXTERN_C_FOR_PETSC_BEGIN
38 # include <petscksp.h> 39 EXTERN_C_FOR_PETSC_END
65 const std::string& name,
66 const unsigned int number);
90 sys_type &
system () {
return *
this; }
96 virtual void clear ();
176 bool _matrix_assembled;
184 std::vector<Real> _nodal_force;
ParticleMesh< 3 > * particle_mesh()
Definition: elasticity_system.h:141
ParticleMesh< 3 > * particle_mesh() const
Definition: elasticity_system.h:142
MeshSpringNetwork * mesh_spring_network() const
Definition: elasticity_system.h:155
std::vector< Real > mesh_size() const
Definition: elasticity_system.C:230
LinearImplicitSystem Parent
Definition: elasticity_system.h:84
Definition: brownian_system.h:58
void init_ksp_solver()
Definition: elasticity_system.C:90
sys_type & system()
Definition: elasticity_system.h:90
Definition: mesh_spring_network.h:55
void attach_mesh_spring_network(MeshSpringNetwork *msn)
Definition: elasticity_system.h:148
ElasticitySystem sys_type
Definition: elasticity_system.h:78
std::vector< Real > nodal_force() const
Definition: elasticity_system.h:129
ElasticitySystem(EquationSystems &es, const std::string &name, const unsigned int number)
Definition: elasticity_system.C:58
virtual ~ElasticitySystem()
Definition: elasticity_system.C:71
void attach_particle_mesh(ParticleMesh< 3 > *pm)
Definition: elasticity_system.h:135
virtual void clear()
Definition: elasticity_system.C:80
void build_nodal_force_gravity(const std::vector< Real > &f)
Definition: elasticity_system.C:106
KSP & ksp_solver()
Definition: elasticity_system.h:114
Definition: elasticity_system.h:57
MeshSpringNetwork * mesh_spring_network()
Definition: elasticity_system.h:154
void destroy_ksp_solver()
Definition: elasticity_system.C:98