Opm::CopyRestrictProlong< Grid, Container > Class Template Reference

#include <restrictprolong.hh>

Public Types

using DomainFieldType = typename Grid::ctype
 

Public Member Functions

 CopyRestrictProlong (Container &container)
 
template<class Field >
void setFatherChildWeight (const Field &) const
 explicit set volume ratio of son and father More...
 
template<class Entity >
void restrictLocal (const Entity &father, const Entity &son, bool initialize) const
 restrict data to father More...
 
template<class Entity , class LocalGeometry >
void restrictLocal (const Entity &father, const Entity &son, const LocalGeometry &, bool initialize) const
 restrict data to father More...
 
template<class Entity >
void prolongLocal (const Entity &father, const Entity &son, bool) const
 prolong data to children More...
 
template<class Entity , class LocalGeometry >
void prolongLocal (const Entity &father, const Entity &son, const LocalGeometry &, bool initialize) const
 prolong data to children More...
 
template<class Communicator >
void addToList (Communicator &)
 add discrete function to communicator More...
 
template<class LoadBalancer >
void addToLoadBalancer (LoadBalancer &)
 add discrete function to load balancer More...
 

Member Typedef Documentation

◆ DomainFieldType

template<class Grid , class Container >
using Opm::CopyRestrictProlong< Grid, Container >::DomainFieldType = typename Grid::ctype

Constructor & Destructor Documentation

◆ CopyRestrictProlong()

template<class Grid , class Container >
Opm::CopyRestrictProlong< Grid, Container >::CopyRestrictProlong ( Container &  container)
inlineexplicit

Member Function Documentation

◆ addToList()

template<class Grid , class Container >
template<class Communicator >
void Opm::CopyRestrictProlong< Grid, Container >::addToList ( Communicator &  )
inline

add discrete function to communicator

Parameters
[in]commCommunicator to add the discrete functions to

◆ addToLoadBalancer()

template<class Grid , class Container >
template<class LoadBalancer >
void Opm::CopyRestrictProlong< Grid, Container >::addToLoadBalancer ( LoadBalancer &  )
inline

add discrete function to load balancer

Parameters
[in]lbLoadBalancer to add the discrete functions to

◆ prolongLocal() [1/2]

template<class Grid , class Container >
template<class Entity >
void Opm::CopyRestrictProlong< Grid, Container >::prolongLocal ( const Entity &  father,
const Entity &  son,
bool   
) const
inline

prolong data to children

Referenced by Opm::CopyRestrictProlong< Grid, Container >::prolongLocal().

◆ prolongLocal() [2/2]

template<class Grid , class Container >
template<class Entity , class LocalGeometry >
void Opm::CopyRestrictProlong< Grid, Container >::prolongLocal ( const Entity &  father,
const Entity &  son,
const LocalGeometry &  ,
bool  initialize 
) const
inline

◆ restrictLocal() [1/2]

template<class Grid , class Container >
template<class Entity >
void Opm::CopyRestrictProlong< Grid, Container >::restrictLocal ( const Entity &  father,
const Entity &  son,
bool  initialize 
) const
inline

restrict data to father

Referenced by Opm::CopyRestrictProlong< Grid, Container >::restrictLocal().

◆ restrictLocal() [2/2]

template<class Grid , class Container >
template<class Entity , class LocalGeometry >
void Opm::CopyRestrictProlong< Grid, Container >::restrictLocal ( const Entity &  father,
const Entity &  son,
const LocalGeometry &  ,
bool  initialize 
) const
inline

◆ setFatherChildWeight()

template<class Grid , class Container >
template<class Field >
void Opm::CopyRestrictProlong< Grid, Container >::setFatherChildWeight ( const Field &  ) const
inline

explicit set volume ratio of son and father

Parameters
[in]weightvolume of son / volume of father
Note
If this ratio is set, it is assume to be constant.

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