Parallel Finite Element - General geometry Ewald-like Method
Part of Continuum-particle Simulation Suite under MICCOM
analytical_solution.h
Go to the documentation of this file.
1 // Parallel Finite Element-General Geometry Ewald-like Method.
2 // Copyright (C) 2015-2016 Xujun Zhao, Jiyuan Li, Xikai Jiang
3 
4 // This code is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License, or (at your option) any later version.
8 
9 
10 // This code is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 
15 
16 // You should have received a copy of the GNU General Public
17 // License along with this code; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 
20 
21 
22 #pragma once
23 
24 #include <stdio.h>
25 
26 #include "libmesh/reference_counted_object.h"
27 
28 #include "pm_system_stokes.h"
29 
30 //namespace libMesh
31 //{
32 
40 class AnalyticalSolution : public ReferenceCountedObject<AnalyticalSolution>
41 //public ParallelObject
42 {
43 public:
44 
49 
50 
55 
56 
60  std::vector<Real> exact_solution_infinite_domain(const Point& pt0) const;
61 
62 
66  Real correction_factor_bohlin(const Real r_ratio) const;
67 
68 
72  Real correction_factor_haberman(const Real r_ratio) const;
73 
74 
75 
76 private:
77 
81  PMSystemStokes& _pm_system;
82 
83 }; // end of class defination
84 
85 
86 
87 //} // end of namespace
88 
~AnalyticalSolution()
Destructor.
Definition: analytical_solution.C:43
AnalyticalSolution(PMSystemStokes &pm_system)
Constructor.
Definition: analytical_solution.C:34
Analytic solution to unbounded flow field.
Definition: analytical_solution.h:40
Real correction_factor_bohlin(const Real r_ratio) const
correction factor for a particle in a cylinder: Bohlin approximation
Definition: analytical_solution.C:96
Real correction_factor_haberman(const Real r_ratio) const
correction factor for a particle in a cylinder: Haberman approximation
Definition: analytical_solution.C:110
Definition: pm_system_stokes.h:40
std::vector< Real > exact_solution_infinite_domain(const Point &pt0) const
Exact solution for point forces in an unbounded domain.
Definition: analytical_solution.C:51