Discontinuous Galerkin Library
#include "dg/algorithm.h"
dg::RealLinearRefinement< real_type > Struct Template Reference

Multiply every cell in the grid by a factor. More...

Inheritance diagram for dg::RealLinearRefinement< real_type >:
[legend]

Public Member Functions

 RealLinearRefinement (unsigned multiple)
 Refine every cell in the grid by an integer number of new cells. More...
 
virtual RealLinearRefinementclone () const
 
- Public Member Functions inherited from dg::aRealRefinement1d< real_type >
void generate (const RealGrid1d< real_type > &g_old, thrust::host_vector< real_type > &weights, thrust::host_vector< real_type > &abscissas) const
 Generate the grid transformation. More...
 
unsigned N_new (unsigned N_old, bc bcx) const
 the new number of cells More...
 
virtual aRealRefinement1dclone () const =0
 
virtual ~aRealRefinement1d ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from dg::aRealRefinement1d< real_type >
 aRealRefinement1d ()=default
 
 aRealRefinement1d (const aRealRefinement1d &src)=default
 
aRealRefinement1doperator= (const aRealRefinement1d &src)=default
 

Detailed Description

template<class real_type>
struct dg::RealLinearRefinement< real_type >

Multiply every cell in the grid by a factor.

Constructor & Destructor Documentation

◆ RealLinearRefinement()

template<class real_type >
dg::RealLinearRefinement< real_type >::RealLinearRefinement ( unsigned  multiple)
inline

Refine every cell in the grid by an integer number of new cells.

Parameters
multiplemultiply every cell

Member Function Documentation

◆ clone()

template<class real_type >
virtual RealLinearRefinement * dg::RealLinearRefinement< real_type >::clone ( ) const
inlinevirtual

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