25 #include "libmesh/libmesh_config.h" 26 #include "libmesh/petsc_macro.h" 27 #include "libmesh/linear_implicit_system.h" 60 const std::string& name,
61 const unsigned int number);
79 sys_type &
system () {
return *
this; }
85 virtual void clear () = 0;
92 const std::string& option) = 0;
98 virtual void assemble_rhs (
const std::string& system_name,
99 const std::string& option) = 0;
105 virtual void solve (
const std::string& option,
106 const bool& re_init) = 0;
118 virtual void test_l2_norm(
bool& neighbor_list_update_flag) = 0;
127 const std::string& output_filename,
128 const std::string& output_format) = 0;
170 const std::vector<Real>& vel,
172 const Real time)
const;
179 const std::size_t istep,
181 const std::string& f_name,
182 const std::string& openmode)
const;
190 const std::vector<Real>& pv,
191 const bool write_velocity)
const;
195 const bool write_velocity)
const;
virtual void solve(const std::string &option, const bool &re_init)=0
void write_out_single_particle(const Point &coords, const std::vector< Real > &vel, const int i_step, const Real time) const
Definition: pm_linear_implicit_system.C:67
virtual void write_equation_systems(const std::size_t time_step, const std::string &output_filename, const std::string &output_format)=0
virtual void add_local_solution()=0
std::vector< Fix * > _fixes
Definition: pm_linear_implicit_system.h:208
PMLinearImplicitSystem sys_type
Definition: pm_linear_implicit_system.h:73
sys_type & system()
Definition: pm_linear_implicit_system.h:79
Definition: brownian_system.h:58
virtual ~PMLinearImplicitSystem()
Definition: pm_linear_implicit_system.C:58
PointMesh< 3 > * _point_mesh
Definition: pm_linear_implicit_system.h:202
void attach_particle_mesh(ParticleMesh< 3 > *pm)
Definition: pm_linear_implicit_system.h:147
PMLinearImplicitSystem(EquationSystems &es, const std::string &name, const unsigned int number)
Definition: pm_linear_implicit_system.C:46
ParticleMesh< 3 > * particle_mesh() const
Definition: pm_linear_implicit_system.h:154
std::vector< Fix * > fixes() const
Definition: pm_linear_implicit_system.h:162
void write_out_point_coordinate(Vec *ROUT, const std::size_t istep, const Real &time, const std::string &f_name, const std::string &openmode) const
Definition: pm_linear_implicit_system.C:137
void write_point_csv(const std::string &filename, const std::vector< Real > &pv, const bool write_velocity) const
Definition: pm_linear_implicit_system.C:211
ParticleMesh< 3 > * particle_mesh()
Definition: pm_linear_implicit_system.h:153
Definition: pm_linear_implicit_system.h:52
void attach_point_mesh(PointMesh< 3 > *pm)
Definition: pm_linear_implicit_system.h:134
virtual void assemble_matrix(const std::string &system_name, const std::string &option)=0
ParticleMesh< 3 > * _particle_mesh
Definition: pm_linear_implicit_system.h:205
PointMesh< 3 > * point_mesh()
Definition: pm_linear_implicit_system.h:140
std::vector< Fix * > fixes()
Definition: pm_linear_implicit_system.h:161
PointMesh< 3 > * point_mesh() const
Definition: pm_linear_implicit_system.h:141
void attach_fixes(std::vector< Fix * > fixes)
Definition: pm_linear_implicit_system.h:160
virtual void test_l2_norm(bool &neighbor_list_update_flag)=0
virtual void assemble_rhs(const std::string &system_name, const std::string &option)=0