ASPECT
Public Member Functions | Public Attributes | List of all members
aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim > Struct Template Reference

Public Member Functions

 VolumeOfFluidSystem (const FiniteElement< dim > &finite_element)
 
 VolumeOfFluidSystem (const VolumeOfFluidSystem &data)
 
VolumeOfFluidSystemoperator= (const VolumeOfFluidSystem &)=default
 

Public Attributes

FullMatrix< double > local_matrix
 
Vector< double > local_rhs
 
std::vector< Vector< double > > local_face_rhs
 
std::vector< FullMatrix< double > > local_face_matrices_ext_ext
 
std::vector< bool > face_contributions_mask
 
std::vector< types::global_dof_index > local_dof_indices
 
std::vector< std::vector< types::global_dof_index > > neighbor_dof_indices
 

Detailed Description

template<int dim>
struct aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >

Standard copy data structure for matrix assembly

Definition at line 111 of file assembly.h.

Constructor & Destructor Documentation

§ VolumeOfFluidSystem() [1/2]

template<int dim>
aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::VolumeOfFluidSystem ( const FiniteElement< dim > &  finite_element)

Constructor.

Parameters
finite_elementThe element that describes the field for which we are trying to assemble a linear system. Not the global finite element.

§ VolumeOfFluidSystem() [2/2]

Member Function Documentation

§ operator=()

template<int dim>
VolumeOfFluidSystem& aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::operator= ( const VolumeOfFluidSystem< dim > &  )
default

Add a defaulted assignment operator because relying on it implicitly is deprecated.

Member Data Documentation

§ local_matrix

template<int dim>
FullMatrix<double> aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::local_matrix

Local contributions to the global matrix and right hand side that correspond only to the variables listed in local_dof_indices

Definition at line 132 of file assembly.h.

§ local_rhs

template<int dim>
Vector<double> aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::local_rhs

Definition at line 133 of file assembly.h.

§ local_face_rhs

template<int dim>
std::vector<Vector<double> > aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::local_face_rhs

Local contributions to the global rhs from the face terms in the discontinuous Galerkin interpretation of the VolumeOfFluid method.

The array has a length sufficient to hold one element for each possible face and sub-face of a cell.

Definition at line 142 of file assembly.h.

§ local_face_matrices_ext_ext

template<int dim>
std::vector<FullMatrix<double> > aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::local_face_matrices_ext_ext

Definition at line 143 of file assembly.h.

§ face_contributions_mask

template<int dim>
std::vector<bool> aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::face_contributions_mask

Denotes which face's rhs have actually been assembled in the DG field assembly. Entries not used (for example, those corresponding to non-existent subfaces; or faces being assembled by the neighboring cell) are set to false.

The array has a length sufficient to hold one element for each possible face and sub-face of a cell.

Definition at line 154 of file assembly.h.

§ local_dof_indices

template<int dim>
std::vector<types::global_dof_index> aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::local_dof_indices

Indices of those degrees of freedom that actually correspond to the volume_of_fluid field. Since this structure is used to represent just contributions to the volume_of_fluid systems, there will be no contributions to other parts of the system and consequently, we do not need to list here indices that correspond to velocity or pressure degrees (or, in fact any other variable outside the block we are currently considering)

Definition at line 165 of file assembly.h.

§ neighbor_dof_indices

template<int dim>
std::vector<std::vector<types::global_dof_index> > aspect::internal::Assembly::CopyData::VolumeOfFluidSystem< dim >::neighbor_dof_indices

Indices of the degrees of freedom corresponding to the volume_of_fluid field on all possible neighboring cells. This is used in the discontinuous Galerkin interpretation of the VolumeOfFluid method.

The array has a length sufficient to hold one element for each possible face and sub-face of a cell.

Definition at line 175 of file assembly.h.


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