GRINS-0.8.0
elastic_cable_base.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // GRINS - General Reacting Incompressible Navier-Stokes
5 //
6 // Copyright (C) 2014-2017 Paul T. Bauman, Roy H. Stogner
7 // Copyright (C) 2010-2013 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 #ifndef GRINS_ELASTIC_CABLE_BASE_H
26 #define GRINS_ELASTIC_CABLE_BASE_H
27 
28 //GRINS
30 
31 namespace GRINS
32 {
33  template<typename StressStrainLaw>
35  {
36  public:
37 
38  ElasticCableBase( const GRINS::PhysicsName& physics_name,
39  const GetPot& input,
40  bool is_compressible);
41 
42  virtual ~ElasticCableBase(){};
43 
44  protected:
45 
47 
48  void mass_residual_impl( bool compute_jacobian,
49  AssemblyContext& context,
50  InteriorFuncType interior_solution,
51  VarDerivType get_solution_deriv,
52  libMesh::Real mu = 1.0 );
53 
54  void compute_metric_tensors( unsigned int qp,
55  const libMesh::FEBase& elem,
56  const AssemblyContext& context,
57  const libMesh::Gradient& grad_u,
58  const libMesh::Gradient& grad_v,
59  const libMesh::Gradient& grad_w,
64  libMesh::Real& lambda_sq);
65 
67 
69 
70  private:
71 
73 
74  };
75 
76 }
77 
78 #endif // GRINS_ELASTIC_CABLE_BASE_H
libMesh::Real(libMesh::DiffContext::* VarDerivType)() const
GRINS namespace.
void(libMesh::FEMContext::* InteriorFuncType)(unsigned int, unsigned int, libMesh::Real &) const
void compute_metric_tensors(unsigned int qp, const libMesh::FEBase &elem, const AssemblyContext &context, const libMesh::Gradient &grad_u, const libMesh::Gradient &grad_v, const libMesh::Gradient &grad_w, libMesh::TensorValue< libMesh::Real > &a_cov, libMesh::TensorValue< libMesh::Real > &a_contra, libMesh::TensorValue< libMesh::Real > &A_cov, libMesh::TensorValue< libMesh::Real > &A_contra, libMesh::Real &lambda_sq)
void mass_residual_impl(bool compute_jacobian, AssemblyContext &context, InteriorFuncType interior_solution, VarDerivType get_solution_deriv, libMesh::Real mu=1.0)
Implementation of mass_residual.
std::string PhysicsName
StressStrainLaw _stress_strain_law

Generated on Tue Dec 19 2017 12:47:27 for GRINS-0.8.0 by  doxygen 1.8.9.1