OGS 6.2.0-244-g47b8a9a9d
ProcessLib::HT::HTLocalAssemblerInterface Class Referenceabstract

Detailed Description

Definition at line 44 of file HTLocalAssemblerInterface.h.

#include <HTLocalAssemblerInterface.h>

Inheritance diagram for ProcessLib::HT::HTLocalAssemblerInterface:
Collaboration diagram for ProcessLib::HT::HTLocalAssemblerInterface:

Public Member Functions

 HTLocalAssemblerInterface ()=default
 
void setStaggeredCoupledSolutions (std::size_t const, CoupledSolutionsForStaggeredScheme *const coupling_term)
 
virtual std::vector< double > const & getIntPtDarcyVelocity (const double, GlobalVector const &, NumLib::LocalToGlobalIndexMap const &, std::vector< double > &) const =0
 
Eigen::Vector3d getFlux (MathLib::Point3d const &pnt_local_coords, double const t, std::vector< double > const &local_x) const override=0
 
- Public Member Functions inherited from ProcessLib::LocalAssemblerInterface
virtual ~LocalAssemblerInterface ()=default
 
virtual void setInitialConditions (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x, double const t)
 
virtual void preAssemble (double const, std::vector< double > const &)
 
virtual void assemble (double const t, std::vector< double > const &local_x, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data)
 
virtual void assembleForStaggeredScheme (double const t, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data, LocalCoupledSolutions const &coupled_solutions)
 
virtual void assembleWithJacobian (double const t, std::vector< double > const &local_x, std::vector< double > const &local_xdot, const double dxdot_dx, const double dx_dx, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data)
 
virtual void assembleWithJacobianForStaggeredScheme (double const t, std::vector< double > const &local_xdot, const double dxdot_dx, const double dx_dx, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data, LocalCoupledSolutions const &local_coupled_solutions)
 
virtual void computeSecondaryVariable (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table, const double t, GlobalVector const &x, CoupledSolutionsForStaggeredScheme const *coupled_xs)
 
virtual void preTimestep (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x, double const t, double const delta_t)
 
virtual void postTimestep (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x)
 
void postNonLinearSolver (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x, double const t, bool const use_monolithic_scheme)
 
virtual Eigen::Vector3d getFlux (MathLib::Point3d const &, double const, std::vector< std::vector< double >> const &) const
 Fits to staggered scheme. More...
 
- Public Member Functions inherited from NumLib::ExtrapolatableElement
virtual Eigen::Map< const Eigen::RowVectorXd > getShapeMatrix (const unsigned integration_point) const =0
 Provides the shape matrix at the given integration point. More...
 
virtual ~ExtrapolatableElement ()=default
 

Protected Attributes

CoupledSolutionsForStaggeredScheme_coupled_solutions {nullptr}
 

Constructor & Destructor Documentation

◆ HTLocalAssemblerInterface()

ProcessLib::HT::HTLocalAssemblerInterface::HTLocalAssemblerInterface ( )
default

Member Function Documentation

◆ getFlux()

Eigen::Vector3d ProcessLib::HT::HTLocalAssemblerInterface::getFlux ( MathLib::Point3d const &  ,
double const  const,
std::vector< double > const &   
) const
overridepure virtual

Computes the flux in the point p_local_coords that is given in local coordinates using the values from local_x. Fits to monolithic scheme.

Reimplemented from ProcessLib::LocalAssemblerInterface.

Implemented in ProcessLib::HT::HTFEM< ShapeFunction, IntegrationMethod, GlobalDim >.

◆ getIntPtDarcyVelocity()

virtual std::vector<double> const& ProcessLib::HT::HTLocalAssemblerInterface::getIntPtDarcyVelocity ( const double  ,
GlobalVector const &  ,
NumLib::LocalToGlobalIndexMap const &  ,
std::vector< double > &   
) const
pure virtual

◆ setStaggeredCoupledSolutions()

void ProcessLib::HT::HTLocalAssemblerInterface::setStaggeredCoupledSolutions ( std::size_t  const,
CoupledSolutionsForStaggeredScheme *const  coupling_term 
)
inline

Definition at line 49 of file HTLocalAssemblerInterface.h.

Referenced by ProcessLib::HT::HTProcess::setCoupledTermForTheStaggeredSchemeToLocalAssemblers().

52  {
53  _coupled_solutions = coupling_term;
54  }
CoupledSolutionsForStaggeredScheme * _coupled_solutions

Member Data Documentation

◆ _coupled_solutions

CoupledSolutionsForStaggeredScheme* ProcessLib::HT::HTLocalAssemblerInterface::_coupled_solutions {nullptr}
protected

Pointer to CoupledSolutionsForStaggeredScheme that is set in a member of Process class, setCoupledTermForTheStaggeredSchemeToLocalAssemblers. It is used for calculate the secondary variables like velocity for coupled processes.

Definition at line 77 of file HTLocalAssemblerInterface.h.


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