www.mooseframework.org
ComputeFullJacobianThread.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef COMPUTEFULLJACOBIANTHREAD_H
16 #define COMPUTEFULLJACOBIANTHREAD_H
17 
18 #include "ComputeJacobianThread.h"
19 
20 // Forward declarations
21 class FEProblemBase;
23 
25 {
26 public:
28  SparseMatrix<Number> & jacobian,
29  Moose::KernelType kernel_type = Moose::KT_ALL);
30 
31  // Splitting Constructor
32  ComputeFullJacobianThread(ComputeFullJacobianThread & x, Threads::split split);
33 
35 
36  void join(const ComputeJacobianThread & /*y*/) {}
37 
38 protected:
39  virtual void computeJacobian() override;
40  virtual void computeFaceJacobian(BoundaryID bnd_id) override;
41  virtual void computeInternalFaceJacobian(const Elem * neighbor) override;
42  virtual void computeInternalInterFaceJacobian(BoundaryID bnd_id) override;
43 
45 
46  // Reference to BC storage structures
48 
49  // Reference to DGKernel storage
51 
52  // Reference to interface kernel storage
54 
56 
58 };
59 
60 #endif // COMPUTEFULLJACOBIANTHREAD_H
const MooseObjectWarehouse< DGKernel > & _dg_kernels
virtual void computeInternalFaceJacobian(const Elem *neighbor) override
static PetscErrorCode Vec x
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Nonlinear system to be solved.
const KernelWarehouse * _warehouse
const MooseObjectWarehouse< InterfaceKernel > & _interface_kernels
void join(const ComputeJacobianThread &)
virtual void computeInternalInterFaceJacobian(BoundaryID bnd_id) override
KernelType
Definition: MooseTypes.h:162
virtual void computeFaceJacobian(BoundaryID bnd_id) override
ComputeFullJacobianThread(FEProblemBase &fe_problem, SparseMatrix< Number > &jacobian, Moose::KernelType kernel_type=Moose::KT_ALL)
Holds kernels and provides some services.
virtual void computeJacobian() override
const MooseObjectWarehouse< IntegratedBC > & _integrated_bcs
boundary_id_type BoundaryID
Definition: MooseTypes.h:75