HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
HArDCore2D::DSL::RTNPkPkPk Class Reference

#include <rtn-pk-pk-pk.hpp>

Inheritance diagram for HArDCore2D::DSL::RTNPkPkPk:
Inheritance graph
[legend]
Collaboration diagram for HArDCore2D::DSL::RTNPkPkPk:
Collaboration graph
[legend]

Public Types

typedef boost::fusion::map< boost::fusion::pair< RolyCellType, std::string >, boost::fusion::pair< RolyComplCellType, std::string > > CellDofsMapType
 
typedef boost::fusion::map< boost::fusion::pair< RolyCellType, std::string >, boost::fusion::pair< RolyComplCellType, std::string > > CellDofsMapType
 
typedef boost::fusion::map< boost::fusion::pair< RolyCellType, std::string >, boost::fusion::pair< RolyComplCellType, std::string > > CellDofsMapType
 
- Public Types inherited from HArDCore2D::DSL::HYPRE
typedef Eigen::SparseMatrix< double > SystemMatrixType
 
typedef std::function< VectorRd(const VectorRd &)> MomentumForcingTermType
 
typedef std::function< double(const VectorRd &)> CompressibilityForcingTermType
 
typedef std::function< VectorRd(const VectorRd &)> VelocityType
 
typedef std::function< MatrixRd(const VectorRd &)> VelocityGradientType
 
typedef std::function< double(const VectorRd &)> PressureType
 
typedef std::function< VectorRd(const VectorRd &)> PressureGradientType
 
typedef Eigen::SparseMatrix< double > SystemMatrixType
 
typedef std::function< VectorRd(const VectorRd &)> MomentumForcingTermType
 
typedef std::function< double(const VectorRd &)> CompressibilityForcingTermType
 
typedef std::function< VectorRd(const VectorRd &)> VelocityType
 
typedef std::function< MatrixRd(const VectorRd &)> VelocityGradientType
 
typedef std::function< double(const VectorRd &)> PressureType
 
typedef std::function< VectorRd(const VectorRd &)> PressureGradientType
 
typedef Eigen::SparseMatrix< double > SystemMatrixType
 
typedef std::function< VectorRd(const VectorRd &)> MomentumForcingTermType
 
typedef std::function< VectorRd(const VectorRd &)> MagneticForcingTermType
 
typedef std::function< double(const VectorRd &)> CompressibilityForcingTermType
 
typedef std::function< VectorRd(const VectorRd &)> VelocityType
 
typedef std::function< MatrixRd(const VectorRd &)> VelocityGradientType
 
typedef std::function< double(const VectorRd &)> PressureType
 
typedef std::function< VectorRd(const VectorRd &)> PressureGradientType
 

Public Member Functions

 RTNPkPkPk (const Mesh &mesh, size_t degree, const BoundaryConditions &bc, const HYPREParameters &parameters)
 Constructor.
 
Eigen::VectorXd interpolate (const VelocityType &u, const PressureType &p) const
 Interpolate both velocity and pressure.
 
const CellDofsMapTypecellDofsMap () const
 Return cell DOFs map.
 
Eigen::VectorXd extendCellDofs (const Eigen::VectorXd &vh) const
 Extend cell DOFs from \(\mathcal{RTN}^{k+1}(T)\) to \(\mathcal{P}^{k+1}(T)^d\).
 
const DiscreteSpaceextendedDofsSpace () const
 Return the discrete space corresponding to the extended DOFs.
 
double convective_stabilization_parameter (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const size_t cell_degree, const double viscosity, const Eigen::VectorXd uT_old, const double current_time=0.) const
 Evaluates convective stabilisation parameter.
 
 RTNPkPkPk (const Mesh &mesh, size_t degree, const BoundaryConditions &bc, const HYPREParameters &parameters)
 Constructor.
 
Eigen::VectorXd interpolate (const VelocityType &u, const PressureType &p) const
 Interpolate both velocity and pressure.
 
const CellDofsMapTypecellDofsMap () const
 Return cell DOFs map.
 
Eigen::VectorXd extendCellDofs (const Eigen::VectorXd &vh) const
 Extend cell DOFs from \(\mathcal{RTN}^{k+1}(T)\) to \(\mathcal{P}^{k+1}(T)^d\).
 
const DiscreteSpaceextendedDofsSpace () const
 Return the discrete space corresponding to the extended DOFs.
 
double convective_stabilization_parameter (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const size_t cell_degree, const double viscosity, const Eigen::VectorXd uT_old, const double current_time=0.) const
 Evaluates convective stabilisation parameter.
 
 RTNPkPkPk (const Mesh &mesh, size_t degree, const BoundaryConditions &bc, const HYPREParameters &parameters)
 Constructor.
 
Eigen::VectorXd interpolate (const VelocityType &u, const PressureType &p) const
 Interpolate both velocity and pressure.
 
const CellDofsMapTypecellDofsMap () const
 Return cell DOFs map.
 
Eigen::VectorXd extendCellDofs (const Eigen::VectorXd &vh) const
 Extend cell DOFs from \(\mathcal{RTN}^{k+1}(T)\) to \(\mathcal{P}^{k+1}(T)^d\).
 
const DiscreteSpaceextendedDofsSpace () const
 Return the discrete space corresponding to the extended DOFs.
 
- Public Member Functions inherited from HArDCore2D::DSL::HYPRE
 HYPRE (const Mesh &mesh, size_t degree, const BoundaryConditions &bc, const HYPREParameters &parameters={})
 
virtual ~HYPRE ()
 
template<typename F >
Eigen::VectorXd pkpoPkPkPkInterpolate (const F &v, const InterpolateParameters &parameters={}) const
 Compute the interpolate for the Pk+1-Pk-Pk-Pk method.
 
size_t degree () const
 Returns the degree.
 
double stabilizationParameter () const
 Returns the stabilization parameter.
 
const std::vector< Eigen::MatrixXd > potential () const
 Returns the vector of potential reconstructions.
 
const std::vector< Eigen::MatrixXd > stabilization () const
 Returns the vector of stabilization matrices.
 
const Eigen::MatrixXd & potential (size_t iT) const
 Returns the potential reconstruction.
 
size_t numLocalStaticallyCondensedDofsVelocity () const
 Returns the local number of velocity statically condensed DOFs.
 
size_t numLocalStaticallyCondensedDofsPressure () const
 Returns the local number of pressure statically condensed DOFs.
 
size_t numStaticallyCondensedDofsVelocity () const
 Returns the number of statically condensed DOFs for the velocity.
 
size_t numStaticallyCondensedDofsPressure () const
 Returns the number of statically condensed DOFs for the pressure.
 
size_t numStaticallyCondensedDofs () const
 Returns the number of statically condensed DOFs.
 
size_t numDirichletDofs () const
 Returns the number of Dirichlet DOFs.
 
size_t dimVelocity () const
 Returns the dimension of velocity space.
 
size_t dimPressure () const
 Returns the dimension of pressure space.
 
size_t numNonStaticallyCondensedDofs () const
 Returns the number of DOFs after SC and with Lagrange multiplier, but before eliminating Dirichlet DOFs.
 
size_t sizeSystem () const
 Returns the size of the final system with Lagrange multiplier, after application of SC and removal of Dirichlet BCs.
 
const DiscreteSpacevelocitySpace () const
 Returns the velocity space.
 
const DiscreteSpacepressureSpace () const
 Returns the pressure space.
 
const Meshmesh () const
 Returns the mesh.
 
const SystemMatrixTypesystemMatrix () const
 Returns the linear system matrix.
 
SystemMatrixTypesystemMatrix ()
 Returns the linear system matrix.
 
const Eigen::VectorXd & systemVector () const
 Returns the linear system right-hand side vector.
 
Eigen::VectorXd & systemVector ()
 Returns the linear system right-hand side vector.
 
const SystemMatrixTypestaticallyCondensedMatrix () const
 Returns the static condensation recovery operator.
 
const Eigen::VectorXd & staticallyCondensedVector () const
 Returns the static condensation rhs.
 
const BoundaryConditionsboundaryConditions () const
 Returns the boundary condition handler.
 
void assembleResidualSystem (const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old, const Eigen::VectorXd &uph_prev, const double time_step, const double current_time)
 Assemble the global system.
 
void assembleResidualSystem (const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old)
 
Eigen::VectorXd reconstructSolution (const Eigen::VectorXd &uhp_solsystem) const
 Reconstruct the solution from the vector of non-statically-condensed DOFs.
 
 HYPRE (const Mesh &mesh, size_t degree, const BoundaryConditions &bc, const HYPREParameters &parameters={})
 
virtual ~HYPRE ()
 
template<typename F >
Eigen::VectorXd pkpoPkPkPkInterpolate (const F &v, const InterpolateParameters &parameters={}) const
 Compute the interpolate for the Pk+1-Pk-Pk-Pk method.
 
size_t degree () const
 Returns the degree.
 
double stabilizationParameter () const
 Returns the stabilization parameter.
 
const std::vector< Eigen::MatrixXd > potential () const
 Returns the vector of potential reconstructions.
 
const std::vector< Eigen::MatrixXd > stabilization () const
 Returns the vector of stabilization matrices.
 
const Eigen::MatrixXd & potential (size_t iT) const
 Returns the potential reconstruction.
 
size_t numLocalStaticallyCondensedDofsVelocity () const
 Returns the local number of velocity statically condensed DOFs.
 
size_t numLocalStaticallyCondensedDofsPressure () const
 Returns the local number of pressure statically condensed DOFs.
 
size_t numStaticallyCondensedDofsVelocity () const
 Returns the number of statically condensed DOFs for the velocity.
 
size_t numStaticallyCondensedDofsPressure () const
 Returns the number of statically condensed DOFs for the pressure.
 
size_t numStaticallyCondensedDofs () const
 Returns the number of statically condensed DOFs.
 
size_t numDirichletDofs () const
 Returns the number of Dirichlet DOFs.
 
size_t dimVelocity () const
 Returns the dimension of velocity space.
 
size_t dimPressure () const
 Returns the dimension of pressure space.
 
size_t numNonStaticallyCondensedDofs () const
 Returns the number of DOFs after SC and with Lagrange multiplier, but before eliminating Dirichlet DOFs.
 
size_t sizeSystem () const
 Returns the size of the final system with Lagrange multiplier, after application of SC and removal of Dirichlet BCs.
 
const DiscreteSpacevelocitySpace () const
 Returns the velocity space.
 
const DiscreteSpacepressureSpace () const
 Returns the pressure space.
 
const Meshmesh () const
 Returns the mesh.
 
const SystemMatrixTypesystemMatrix () const
 Returns the linear system matrix.
 
SystemMatrixTypesystemMatrix ()
 Returns the linear system matrix.
 
const Eigen::VectorXd & systemVector () const
 Returns the linear system right-hand side vector.
 
Eigen::VectorXd & systemVector ()
 Returns the linear system right-hand side vector.
 
const SystemMatrixTypestaticallyCondensedMatrix () const
 Returns the static condensation recovery operator.
 
const Eigen::VectorXd & staticallyCondensedVector () const
 Returns the static condensation rhs.
 
const BoundaryConditionsboundaryConditions () const
 Returns the boundary condition handler.
 
void assembleResidualSystem (const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old, const Eigen::VectorXd &uph_prev, const double time_step, const double current_time)
 Assemble the global system.
 
void assembleResidualSystem (const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old)
 
Eigen::VectorXd reconstructSolution (const Eigen::VectorXd &uhp_solsystem) const
 Reconstruct the solution from the vector of non-statically-condensed DOFs.
 
 HYPRE (const Mesh &mesh, size_t degree, const BoundaryConditions &bc, const HYPREParameters &parameters={})
 
virtual ~HYPRE ()
 
template<typename F >
Eigen::VectorXd pkpoPkPkPkInterpolate (const F &v, const InterpolateParameters &parameters={}) const
 Compute the interpolate for the Pk+1-Pk-Pk-Pk method.
 
size_t degree () const
 Returns the degree.
 
double stabilizationParameter () const
 Returns the stabilization parameter.
 
const std::vector< Eigen::MatrixXd > potential () const
 Returns the vector of potential reconstructions.
 
const std::vector< Eigen::MatrixXd > stabilization () const
 Returns the vector of stabilization matrices.
 
const Eigen::MatrixXd & potential (size_t iT) const
 Returns the potential reconstruction.
 
size_t numLocalStaticallyCondensedDofsVelocity () const
 Returns the local number of velocity statically condensed DOFs.
 
size_t numLocalStaticallyCondensedDofsPressure () const
 Returns the local number of pressure statically condensed DOFs.
 
size_t numStaticallyCondensedDofsVelocity () const
 Returns the number of statically condensed DOFs for the velocity.
 
size_t numStaticallyCondensedDofsPressure () const
 Returns the number of statically condensed DOFs for the pressure.
 
size_t numStaticallyCondensedDofs () const
 Returns the number of statically condensed DOFs.
 
size_t numDirichletDofs () const
 Returns the number of Dirichlet DOFs.
 
size_t dimVelocity () const
 Returns the dimension of velocity space.
 
size_t dimPressure () const
 Returns the dimension of pressure space.
 
size_t numNonStaticallyCondensedDofs () const
 Returns the number of DOFs after SC and with Lagrange multiplier, but before eliminating Dirichlet DOFs.
 
size_t sizeSystem () const
 Returns the size of the final system with Lagrange multiplier, after application of SC and removal of Dirichlet BCs.
 
size_t numNonStaticallyCondensedDofsVelocity () const
 Returns the number of non statically condensed DOFs for the velocity.
 
size_t numNonStaticallyCondensedDofsPressure () const
 Returns the number of non statically condensed DOFs for the pressure.
 
const DiscreteSpacevelocitySpace () const
 Returns the velocity space.
 
const DiscreteSpacepressureSpace () const
 Returns the pressure space.
 
const Meshmesh () const
 Returns the mesh.
 
const SystemMatrixTypesystemMatrix () const
 Returns the linear system matrix.
 
SystemMatrixTypesystemMatrix ()
 Returns the linear system matrix.
 
const Eigen::VectorXd & systemVector () const
 Returns the linear system right-hand side vector.
 
Eigen::VectorXd & systemVector ()
 Returns the linear system right-hand side vector.
 
const SystemMatrixTypestaticallyCondensedMatrix () const
 Returns the static condensation recovery operator.
 
const Eigen::VectorXd & staticallyCondensedVector () const
 Returns the static condensation rhs.
 
const BoundaryConditionsboundaryConditions () const
 Returns the boundary condition handler.
 
void assembleResidualSystem (const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old, const Eigen::VectorXd &uph_prev, const Eigen::VectorXd &brh_old, const Eigen::VectorXd &brh_prev, const double time_step, const double current_time)
 Assemble the global system.
 
void assembleResidualSystem (const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old, const Eigen::VectorXd &brh_old)
 
Eigen::VectorXd reconstructSolution (const Eigen::VectorXd &uhp_solsystem) const
 Reconstruct the solution from the vector of non-statically-condensed DOFs.
 
double convective_stabilization_parameter (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const size_t cell_degree, const double viscosity, const double current_time=0.) const
 
double magnetic_convective_stabilization_parameter (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const size_t cell_degree, const double magnetic_diffusivity, const double current_time=0.) const
 

Additional Inherited Members

- Protected Member Functions inherited from HArDCore2D::DSL::HYPRE
void _construct_local_operators (size_t iT)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _time_deriv_term (size_t iT, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &uT_prev, const double time_step)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _viscous_term (size_t iT, const Eigen::VectorXd &uT_old)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _nonlinear_viscous_term (size_t iT, const Eigen::VectorXd &uT_old)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _compute_local_contribution (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old, const Eigen::VectorXd &uph_prev, const double time_step, const double current_time)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _compute_local_contribution (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old)
 
LocalStaticCondensation _compute_static_condensation (const size_t &iT)
 
void _assemble_local_contribution (size_t iT, const std::pair< Eigen::MatrixXd, Eigen::VectorXd > &lsT, std::list< Eigen::Triplet< double > > &A1, Eigen::VectorXd &b1, std::list< Eigen::Triplet< double > > &A2, Eigen::VectorXd &b2)
 
void _construct_local_operators (size_t iT)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _time_deriv_term (size_t iT, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &uT_prev, const double time_step)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _viscous_term (size_t iT, const Eigen::VectorXd &uT_old)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _darcy_term (size_t iT, const Eigen::VectorXd &uT_old)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _compute_local_contribution (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old, const Eigen::VectorXd &uph_prev, const double time_step, const double current_time)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _compute_local_contribution (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old)
 
LocalStaticCondensation _compute_static_condensation (const size_t &iT)
 
void _assemble_local_contribution (size_t iT, const std::pair< Eigen::MatrixXd, Eigen::VectorXd > &lsT, std::list< Eigen::Triplet< double > > &A1, Eigen::VectorXd &b1, std::list< Eigen::Triplet< double > > &A2, Eigen::VectorXd &b2)
 
void _construct_local_operators (size_t iT)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _time_deriv_term (size_t iT, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &uT_prev, const double time_step)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _viscous_term (size_t iT, const Eigen::VectorXd &uT_old)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _magnetic_diffusive_term (size_t iT, const Eigen::VectorXd &bT_old)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _compute_local_contribution (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old, const Eigen::VectorXd &uph_prev, const Eigen::VectorXd &brh_old, const Eigen::VectorXd &brh_prev, const double time_step, const double current_time)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _compute_local_contribution (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uph_old, const Eigen::VectorXd &brh_old)
 
LocalStaticCondensation _compute_static_condensation (const size_t &iT)
 
void _assemble_local_contribution (size_t iT, const std::pair< Eigen::MatrixXd, Eigen::VectorXd > &lsT, std::list< Eigen::Triplet< double > > &A1, Eigen::VectorXd &b1, std::list< Eigen::Triplet< double > > &A2, Eigen::VectorXd &b2)
 
- Protected Attributes inherited from HArDCore2D::DSL::HYPRE
size_t m_degree
 
const BoundaryConditionsm_bc
 
bool m_static_condensation
 
bool m_use_threads
 
double m_stabilization_parameter
 
double m_viscosity
 
double m_flow_index
 
double m_degen_param
 
std::ostream & m_output
 
size_t m_nloc_sc_u
 
size_t m_nloc_sc_p
 
std::vector< Eigen::MatrixXd > m_discrete_l2
 
std::vector< Eigen::MatrixXd > m_gradient
 
std::vector< Eigen::MatrixXd > m_gradient_rhs
 
std::vector< Eigen::MatrixXd > m_symgradient
 
std::vector< Eigen::MatrixXd > m_symgradient_rhs
 
std::vector< Eigen::MatrixXd > m_potential
 
std::vector< Eigen::MatrixXd > m_stabilization
 
std::unique_ptr< DiscreteSpacem_velocity_space
 
std::unique_ptr< DiscreteSpacem_pressure_space
 
SystemMatrixType m_A
 
Eigen::VectorXd m_b
 
SystemMatrixType m_sc_A
 
Eigen::VectorXd m_sc_b
 
std::vector< int > m_nsc_to_dof_map
 
std::vector< int > m_sc_to_dof_map
 
double m_permeability
 
bool m_VitoParameter
 
double m_magnetic_diffusivity
 

Member Typedef Documentation

◆ CellDofsMapType [1/3]

typedef boost::fusion::map<boost::fusion::pair<RolyCellType, std::string>, boost::fusion::pair<RolyComplCellType, std::string> > HArDCore2D::DSL::RTNPkPkPk::CellDofsMapType

◆ CellDofsMapType [2/3]

typedef boost::fusion::map<boost::fusion::pair<RolyCellType, std::string>, boost::fusion::pair<RolyComplCellType, std::string> > HArDCore2D::DSL::RTNPkPkPk::CellDofsMapType

◆ CellDofsMapType [3/3]

typedef boost::fusion::map<boost::fusion::pair<RolyCellType, std::string>, boost::fusion::pair<RolyComplCellType, std::string> > HArDCore2D::DSL::RTNPkPkPk::CellDofsMapType

Constructor & Destructor Documentation

◆ RTNPkPkPk() [1/3]

RTNPkPkPk::RTNPkPkPk ( const Mesh mesh,
size_t  degree,
const BoundaryConditions bc,
const HYPREParameters parameters 
)

Constructor.

◆ RTNPkPkPk() [2/3]

HArDCore2D::DSL::RTNPkPkPk::RTNPkPkPk ( const Mesh mesh,
size_t  degree,
const BoundaryConditions bc,
const HYPREParameters parameters 
)

Constructor.

◆ RTNPkPkPk() [3/3]

HArDCore2D::DSL::RTNPkPkPk::RTNPkPkPk ( const Mesh mesh,
size_t  degree,
const BoundaryConditions bc,
const HYPREParameters parameters 
)

Constructor.

Member Function Documentation

◆ cellDofsMap() [1/3]

const CellDofsMapType & HArDCore2D::DSL::RTNPkPkPk::cellDofsMap ( ) const
inline

Return cell DOFs map.

◆ cellDofsMap() [2/3]

const CellDofsMapType & HArDCore2D::DSL::RTNPkPkPk::cellDofsMap ( ) const
inline

Return cell DOFs map.

◆ cellDofsMap() [3/3]

const CellDofsMapType & HArDCore2D::DSL::RTNPkPkPk::cellDofsMap ( ) const
inline

Return cell DOFs map.

◆ convective_stabilization_parameter() [1/2]

double RTNPkPkPk::convective_stabilization_parameter ( size_t  iT,
const HArDCore2D::NavierStokesSolutions::IExactSolution isolution,
const size_t  cell_degree,
const double  viscosity,
const Eigen::VectorXd  uT_old,
const double  current_time = 0. 
) const
virtual

Evaluates convective stabilisation parameter.

Reimplemented from HArDCore2D::DSL::HYPRE.

◆ convective_stabilization_parameter() [2/2]

double HArDCore2D::DSL::RTNPkPkPk::convective_stabilization_parameter ( size_t  iT,
const HArDCore2D::NavierStokesSolutions::IExactSolution isolution,
const size_t  cell_degree,
const double  viscosity,
const Eigen::VectorXd  uT_old,
const double  current_time = 0. 
) const
virtual

Evaluates convective stabilisation parameter.

Reimplemented from HArDCore2D::DSL::HYPRE.

◆ extendCellDofs() [1/3]

Eigen::VectorXd RTNPkPkPk::extendCellDofs ( const Eigen::VectorXd &  vh) const

Extend cell DOFs from \(\mathcal{RTN}^{k+1}(T)\) to \(\mathcal{P}^{k+1}(T)^d\).

◆ extendCellDofs() [2/3]

Eigen::VectorXd HArDCore2D::DSL::RTNPkPkPk::extendCellDofs ( const Eigen::VectorXd &  vh) const

Extend cell DOFs from \(\mathcal{RTN}^{k+1}(T)\) to \(\mathcal{P}^{k+1}(T)^d\).

◆ extendCellDofs() [3/3]

Eigen::VectorXd HArDCore2D::DSL::RTNPkPkPk::extendCellDofs ( const Eigen::VectorXd &  vh) const

Extend cell DOFs from \(\mathcal{RTN}^{k+1}(T)\) to \(\mathcal{P}^{k+1}(T)^d\).

◆ extendedDofsSpace() [1/3]

const DiscreteSpace & HArDCore2D::DSL::RTNPkPkPk::extendedDofsSpace ( ) const
inline

Return the discrete space corresponding to the extended DOFs.

◆ extendedDofsSpace() [2/3]

const DiscreteSpace & HArDCore2D::DSL::RTNPkPkPk::extendedDofsSpace ( ) const
inline

Return the discrete space corresponding to the extended DOFs.

◆ extendedDofsSpace() [3/3]

const DiscreteSpace & HArDCore2D::DSL::RTNPkPkPk::extendedDofsSpace ( ) const
inline

Return the discrete space corresponding to the extended DOFs.

◆ interpolate() [1/3]

Eigen::VectorXd RTNPkPkPk::interpolate ( const VelocityType u,
const PressureType p 
) const
virtual

Interpolate both velocity and pressure.

Parameters
uContinuous velocity to interpolate
pContinuous pressure to interpolate

Implements HArDCore2D::DSL::HYPRE.

◆ interpolate() [2/3]

Eigen::VectorXd HArDCore2D::DSL::RTNPkPkPk::interpolate ( const VelocityType u,
const PressureType p 
) const
virtual

Interpolate both velocity and pressure.

Parameters
uContinuous velocity to interpolate
pContinuous pressure to interpolate

Implements HArDCore2D::DSL::HYPRE.

◆ interpolate() [3/3]

Eigen::VectorXd HArDCore2D::DSL::RTNPkPkPk::interpolate ( const VelocityType u,
const PressureType p 
) const
virtual

Interpolate both velocity and pressure.

Parameters
uContinuous velocity to interpolate
pContinuous pressure to interpolate

Implements HArDCore2D::DSL::HYPRE.


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