RIGradOperator< dim, number > Class Template Reference

Developer Documentation: MeltPoolDG::LevelSet::RIGradOperator< dim, number > Class Template Reference
Developer Documentation
MeltPoolDG::LevelSet::RIGradOperator< dim, number > Class Template Reference

#include <reinitialization_DG_grad_operator.hpp>

Collaboration diagram for MeltPoolDG::LevelSet::RIGradOperator< dim, number >:
[legend]

Public Types

using VectorType = dealii::LinearAlgebra::distributed::Vector< number >
 
using BlockVectorType = dealii::LinearAlgebra::distributed::BlockVector< number >
 

Public Member Functions

 RIGradOperator (const MeltPoolDG::ScratchData< dim, dim, number > &scratch_data_in, const unsigned int reinit_dof_idx_in, const unsigned int reinit_quad_idx_in)
 
template<bool is_right, uint component>
void apply (const VectorType &src, VectorType &dst)
 
template<uint component>
void local_apply_domain (const MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &cell_range) const
 
template<bool is_right, uint component>
void local_apply_inner_face (const MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &face_range) const
 
template<bool is_right, uint component>
void local_apply_boundary_face (const MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &face_range) const
 

Private Member Functions

template<uint component>
void local_apply_domain (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &cell_range) const
 
template<bool is_right, uint component>
void local_apply_inner_face (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &face_range) const
 
template<bool is_right, uint component>
void local_apply_boundary_face (const dealii::MatrixFree< dim, number > &data, VectorType &dst, const VectorType &src, const std::pair< unsigned int, unsigned int > &face_range) const
 

Private Attributes

const MeltPoolDG::ScratchData< dim, dim, number > & scratch_data
 
const unsigned int reinit_dof_idx
 
const unsigned int reinit_quad_idx
 

Member Typedef Documentation

◆ BlockVectorType

template<int dim, typename number >
using MeltPoolDG::LevelSet::RIGradOperator< dim, number >::BlockVectorType = dealii::LinearAlgebra::distributed::BlockVector<number>

◆ VectorType

template<int dim, typename number >
using MeltPoolDG::LevelSet::RIGradOperator< dim, number >::VectorType = dealii::LinearAlgebra::distributed::Vector<number>

Constructor & Destructor Documentation

◆ RIGradOperator()

template<int dim, typename number >
MeltPoolDG::LevelSet::RIGradOperator< dim, number >::RIGradOperator ( const MeltPoolDG::ScratchData< dim, dim, number > &  scratch_data_in,
const unsigned int  reinit_dof_idx_in,
const unsigned int  reinit_quad_idx_in 
)

Member Function Documentation

◆ apply()

template<int dim, typename number >
template<bool is_right, uint component>
template void MeltPoolDG::LevelSet::RIGradOperator< dim, number >::apply< false, 0 > ( const VectorType src,
VectorType dst 
)

Applies the gradient operator to the level set field

Parameters
srcsource vector of the operator
dstdestination vector where the result is stored
Template Parameters
is_rightflag if left or right upwind gradient should be calculated
componentcomponent of gradient

◆ local_apply_boundary_face() [1/2]

template<int dim, typename number >
template<bool is_right, uint component>
void MeltPoolDG::LevelSet::RIGradOperator< dim, number >::local_apply_boundary_face ( const dealii::MatrixFree< dim, number > &  data,
VectorType dst,
const VectorType src,
const std::pair< unsigned int, unsigned int > &  face_range 
) const
private

Applies the boundary face integral

Parameters
datathe matrix free object
dstdestination where the result is stored
srcsource vector
cell_range

◆ local_apply_boundary_face() [2/2]

template<int dim, typename number >
template<bool is_right, uint component>
void MeltPoolDG::LevelSet::RIGradOperator< dim, number >::local_apply_boundary_face ( const MatrixFree< dim, number > &  data,
VectorType dst,
const VectorType src,
const std::pair< unsigned int, unsigned int > &  face_range 
) const

◆ local_apply_domain() [1/2]

template<int dim, typename number >
template<uint component>
void MeltPoolDG::LevelSet::RIGradOperator< dim, number >::local_apply_domain ( const dealii::MatrixFree< dim, number > &  data,
VectorType dst,
const VectorType src,
const std::pair< unsigned int, unsigned int > &  cell_range 
) const
private

Applies the domain integral

Parameters
datathe matrix free object
dstdestination where the result is stored
srcsource vector
cell_range

◆ local_apply_domain() [2/2]

template<int dim, typename number >
template<uint component>
void MeltPoolDG::LevelSet::RIGradOperator< dim, number >::local_apply_domain ( const MatrixFree< dim, number > &  data,
VectorType dst,
const VectorType src,
const std::pair< unsigned int, unsigned int > &  cell_range 
) const

◆ local_apply_inner_face() [1/2]

template<int dim, typename number >
template<bool is_right, uint component>
void MeltPoolDG::LevelSet::RIGradOperator< dim, number >::local_apply_inner_face ( const dealii::MatrixFree< dim, number > &  data,
VectorType dst,
const VectorType src,
const std::pair< unsigned int, unsigned int > &  face_range 
) const
private

Applies the inner face integral

Parameters
datathe matrix free object
dstdestination where the result is stored
srcsource vector
cell_range

◆ local_apply_inner_face() [2/2]

template<int dim, typename number >
template<bool is_right, uint component>
void MeltPoolDG::LevelSet::RIGradOperator< dim, number >::local_apply_inner_face ( const MatrixFree< dim, number > &  data,
VectorType dst,
const VectorType src,
const std::pair< unsigned int, unsigned int > &  face_range 
) const

Member Data Documentation

◆ reinit_dof_idx

template<int dim, typename number >
const unsigned int MeltPoolDG::LevelSet::RIGradOperator< dim, number >::reinit_dof_idx
private

◆ reinit_quad_idx

template<int dim, typename number >
const unsigned int MeltPoolDG::LevelSet::RIGradOperator< dim, number >::reinit_quad_idx
private

◆ scratch_data

template<int dim, typename number >
const MeltPoolDG::ScratchData<dim, dim, number>& MeltPoolDG::LevelSet::RIGradOperator< dim, number >::scratch_data
private

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