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

#include <botti-massa.hpp>

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

Public Member Functions

 BottiMassa (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.
 
 BottiMassa (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.
 
 BottiMassa (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.
 
- 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 DiscreteSpace & velocitySpace () const
 Returns the velocity space.
 
const DiscreteSpace & pressureSpace () const
 Returns the pressure space.
 
const Mesh & mesh () const
 Returns the mesh.
 
const SystemMatrixType & systemMatrix () const
 Returns the linear system matrix.
 
SystemMatrixType & systemMatrix ()
 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 SystemMatrixType & staticallyCondensedMatrix () const
 Returns the static condensation recovery operator.
 
const Eigen::VectorXd & staticallyCondensedVector () const
 Returns the static condensation rhs.
 
const BoundaryConditions & boundaryConditions () 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.
 
virtual 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.
 
 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 DiscreteSpace & velocitySpace () const
 Returns the velocity space.
 
const DiscreteSpace & pressureSpace () const
 Returns the pressure space.
 
const Mesh & mesh () const
 Returns the mesh.
 
const SystemMatrixType & systemMatrix () const
 Returns the linear system matrix.
 
SystemMatrixType & systemMatrix ()
 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 SystemMatrixType & staticallyCondensedMatrix () const
 Returns the static condensation recovery operator.
 
const Eigen::VectorXd & staticallyCondensedVector () const
 Returns the static condensation rhs.
 
const BoundaryConditions & boundaryConditions () 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.
 
virtual 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.
 
 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 DiscreteSpace & velocitySpace () const
 Returns the velocity space.
 
const DiscreteSpace & pressureSpace () const
 Returns the pressure space.
 
const Mesh & mesh () const
 Returns the mesh.
 
const SystemMatrixType & systemMatrix () const
 Returns the linear system matrix.
 
SystemMatrixType & systemMatrix ()
 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 SystemMatrixType & staticallyCondensedMatrix () const
 Returns the static condensation recovery operator.
 
const Eigen::VectorXd & staticallyCondensedVector () const
 Returns the static condensation rhs.
 
const BoundaryConditions & boundaryConditions () const
 Returns the boundary condition handler.
 
void assembleResidualSystem (const HArDCore2D::MHDSolutions::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::MHDSolutions::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.
 
virtual double convective_stabilization_parameter (size_t iT, const HArDCore2D::MHDSolutions::IExactSolution *isolution, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &bT_old, const size_t cell_degree, const double viscosity, const double magnetic_diffusivity, const double current_time) const
 Evaluates convective stabilisation parameter.
 
virtual double magnetic_convective_stabilization_parameter (size_t iT, const HArDCore2D::MHDSolutions::IExactSolution *isolution, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &bT_old, const size_t cell_degree, const double viscosity, const double magnetic_diffusivity, const double current_time) const
 

Additional Inherited Members

- 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
 
- 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)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _velocity_pressure_coupling (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &pT_old, const double &current_time=0.)
 
virtual Eigen::MatrixXd _forcing_terms (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const double current_time=0.)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _linearized_convective_term (size_t iT, const Eigen::VectorXd &uT_old)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _convective_stabilization_term (size_t iT, const Eigen::VectorXd &uT_old, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const double current_time=0.)
 
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 > _velocity_pressure_coupling (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &pT_old, const double &current_time=0.)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _darcy_term (size_t iT, const Eigen::VectorXd &uT_old)
 
virtual Eigen::MatrixXd _forcing_terms (size_t iT, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const double current_time=0.)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _linearized_convective_term (size_t iT, const Eigen::VectorXd &uT_old)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _convective_stabilization_term (size_t iT, const Eigen::VectorXd &uT_old, const HArDCore2D::NavierStokesSolutions::IExactSolution *isolution, const double current_time=0.)
 
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)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _velocity_pressure_coupling (size_t iT, const HArDCore2D::MHDSolutions::IExactSolution *isolution, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &pT_old, const double &current_time=0.)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _magnetic_field_magnetic_pressure_coupling (size_t iT, const HArDCore2D::MHDSolutions::IExactSolution *isolution, const Eigen::VectorXd &bT_old, const Eigen::VectorXd &rT_old, const double &current_time=0.)
 
virtual Eigen::MatrixXd _forcing_terms (size_t iT, const HArDCore2D::MHDSolutions::IExactSolution *isolution, const double current_time=0.)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _linearized_convective_term (size_t iT, const Eigen::VectorXd &uT_old)
 
virtual std::tuple< Eigen::MatrixXd, Eigen::MatrixXd, Eigen::VectorXd > _linearized_convective_mixed_term (size_t iT, const Eigen::VectorXd &wT_old, const Eigen::VectorXd &vT_old)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _convective_stabilization_term (size_t iT, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &bT_old, const HArDCore2D::MHDSolutions::IExactSolution *isolution, const double current_time)
 
virtual std::pair< Eigen::MatrixXd, Eigen::VectorXd > _magnetic_convective_stabilization_term (size_t iT, const Eigen::VectorXd &uT_old, const Eigen::VectorXd &bT_old, const HArDCore2D::MHDSolutions::IExactSolution *isolution, const double current_time)
 
std::pair< Eigen::MatrixXd, Eigen::VectorXd > _compute_local_contribution (size_t iT, const HArDCore2D::MHDSolutions::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::MHDSolutions::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 BoundaryConditions & m_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< DiscreteSpace > m_velocity_space
 
std::unique_ptr< DiscreteSpace > m_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_upwinding
 
double m_magnetic_diffusivity
 

Constructor & Destructor Documentation

◆ BottiMassa() [1/3]

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

Constructor.

◆ BottiMassa() [2/3]

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

Constructor.

◆ BottiMassa() [3/3]

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

Constructor.

Member Function Documentation

◆ interpolate() [1/3]

Eigen::VectorXd BottiMassa::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::BottiMassa::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::BottiMassa::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: