HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
HMM_StochTrans_StefanPME.hpp File Reference
#include <functional>
#include <utility>
#include <iostream>
#include <boost/timer/timer.hpp>
#include <Eigen/Sparse>
#include <Eigen/Dense>
#include <boost/math/constants/constants.hpp>
#include <random>
#include "mesh.hpp"
#include "hybridcore.hpp"
#include "quad2d.hpp"
#include "TestCase/TestCaseNonLinearity.hpp"
#include "TestCase/TestCaseStefanPME.hpp"
#include "BoundaryConditions/BoundaryConditions.hpp"
Include dependency graph for HMM_StochTrans_StefanPME.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HArDCore2D::StochStefanPME
 The vector Xh manipulated in the resolution has mixed components, corresponding either to the unknown \(u\) or to \(\zeta(e^W u)\), depending on the choice of weight of mass-lumping for the cell/edge unknowns. If no weight is put on the edges (resp. the cells), then the edge (resp. cell) unknowns represent \(\zeta(e^W u)\). Otherwise, they represent u. More...
 

Namespaces

namespace  HArDCore2D
 

Typedefs

template<typename T >
using HArDCore2D::SpatialFunctionType = std::function< T(const VectorRd &)>
 Generic type for function that only depends on spatial coordinate.
 
template<typename T >
using HArDCore2D::PiecewiseSpatialFunctionType = std::function< T(const VectorRd &, const Cell *)>
 Generic type for function that depends on space, with formula changing from one cell to the next.
 
template<typename T >
using HArDCore2D::TemporalSpatialFunctionType = std::function< T(const double &, const VectorRd &)>
 Generic type for function that depends on space and time.
 
template<typename T >
using HArDCore2D::PiecewiseTemporalSpatialFunctionType = std::function< T(const double &, const VectorRd &, const Cell *)>
 Generic type for function that depends on space and time, with formula changing from one cell to the next.
 
template<typename T >
using HArDCore2D::EigFunctionType = std::function< T(const size_t &, const size_t &, const VectorRd &)>
 Type for "eigenfunctions" e_i, depending on two indices k,l.
 
template<typename T >
using HArDCore2D::DoubleVector = std::vector< std::vector< T > >
 

Functions

static double HArDCore2D::StDev (const Eigen::VectorXd &v)
 

Variables

static SpatialFunctionType< double > HArDCore2D::zero_scalar_function = [](const VectorRd & x)->double { return 0.;}
 Zero spatial function.
 
static const double HArDCore2D::PI = boost::math::constants::pi<double>()
 Type for vector of vector.
 
static std::function< double(const size_t &, const size_t &)> HArDCore2D::mui
 
static EigFunctionType< double > HArDCore2D::mui_ei
 
static EigFunctionType< VectorRdHArDCore2D::grad_mui_ei
 
static EigFunctionType< double > HArDCore2D::Delta_mui_ei