Processing math: 25%
3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
Dumux::MimeticOperatorAssemblerTwoPAdaptive< TypeTag > Class Template Reference

Levelwise assembler. More...

#include <dumux/porousmediumflow/2p/sequential/diffusion/mimetic/operatoradaptive.hh>

Inheritance diagram for Dumux::MimeticOperatorAssemblerTwoPAdaptive< TypeTag >:
Inheritance graph

Description

template<class TypeTag>
class Dumux::MimeticOperatorAssemblerTwoPAdaptive< TypeTag >

Levelwise assembler.

This class serves as a base class for local assemblers. It provides space and access to the local stiffness matrix. The actual assembling is done in a derived class via the virtual assemble method.

Template Parameters
TypeTagThe problem Type Tag

Public Types

using RepresentationType = MatrixType
 

Public Member Functions

 MimeticOperatorAssemblerTwoPAdaptive (const GridView &gridView)
 
template<class Vector >
void calculatePressure (LocalStiffness &loc, Vector &u, Problem &problem)
 
void initialize ()
 
void adapt ()
 
const RepresentationTypeoperator* () const
 Returns const reference to operator matrix. More...
 
RepresentationTypeoperator* ()
 Returns a reference to operator matrix. More...
 
const IntersectionMapperintersectionMapper ()
 
const IntersectionMapperintersectionMapper () const
 
template<class LocalStiffness , class Vector >
void assemble (LocalStiffness &loc, Vector &u, Vector &f)
 Assembles global stiffness matrix. More...
 
void updateMatrix ()
 

Protected Attributes

const GridView gridView_
 
const IS & is_
 
IntersectionMapper intersectionMapper_
 
RepresentationType A_
 

Member Typedef Documentation

◆ RepresentationType

template<class TypeTag >
using Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::RepresentationType = MatrixType
inherited

Constructor & Destructor Documentation

◆ MimeticOperatorAssemblerTwoPAdaptive()

template<class TypeTag >
Dumux::MimeticOperatorAssemblerTwoPAdaptive< TypeTag >::MimeticOperatorAssemblerTwoPAdaptive ( const GridView &  gridView)
inline

Member Function Documentation

◆ adapt()

template<class TypeTag >
void Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::adapt ( )
inlineinherited

◆ assemble()

template<class TypeTag >
template<class LocalStiffness , class Vector >
void Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::assemble ( LocalStiffness loc,
Vector &  u,
Vector &  f 
)
inherited

Assembles global stiffness matrix.

This method takes an object that can compute local stiffness matrices and assembles the global linear system Au=f.

Parameters
locthe local assembler providing element stiffness and boundary conditions for all elements
[in,out]usolution, contains initial values on input, Dirichlet values are set. The type of boundary condition for a node is inferred from the values returned by the local assembler. A node is of Neumann type if all elements referring to that node report a Neumann boundary condition, it is set to Dirichlet if a least one element reports a process or Dirichlet boundary condition. The difference between process and Dirichlet is that process always denotes a homogeneous Dirichlet value.
fright hand side is filled by this method

Note that the rows corresponding to nodes at the Dirichlet boundary are filled with trivial equations of the form

1\cdot u_i = f_i

where u_i and f_i are both set to the Dirichlet value at the ith node.

◆ calculatePressure()

template<class TypeTag >
template<class Vector >
void Dumux::MimeticOperatorAssemblerTwoPAdaptive< TypeTag >::calculatePressure ( LocalStiffness &  loc,
Vector &  u,
Problem &  problem 
)
inline

◆ initialize()

template<class TypeTag >
void Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::initialize ( )
inlineinherited

◆ intersectionMapper() [1/2]

template<class TypeTag >
const IntersectionMapper & Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::intersectionMapper ( )
inlineinherited

◆ intersectionMapper() [2/2]

template<class TypeTag >
const IntersectionMapper & Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::intersectionMapper ( ) const
inlineinherited

◆ operator*() [1/2]

template<class TypeTag >
RepresentationType & Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::operator* ( )
inlineinherited

Returns a reference to operator matrix.

◆ operator*() [2/2]

template<class TypeTag >
const RepresentationType & Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::operator* ( ) const
inlineinherited

Returns const reference to operator matrix.

◆ updateMatrix()

template<class TypeTag >
void Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::updateMatrix
inherited

Member Data Documentation

◆ A_

template<class TypeTag >
RepresentationType Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::A_
protectedinherited

◆ gridView_

template<class TypeTag >
const GridView Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::gridView_
protectedinherited

◆ intersectionMapper_

template<class TypeTag >
IntersectionMapper Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::intersectionMapper_
protectedinherited

◆ is_

template<class TypeTag >
const IS& Dumux::CROperatorAssemblerTwoPAdaptive< TypeTag >::is_
protectedinherited

The documentation for this class was generated from the following file: