Block-Structured AMR Software Framework
amrex::LPInfo Struct Reference

#include <AMReX_MLLinOp.H>

Public Member Functions

LPInfosetAgglomeration (bool x) noexcept
 
LPInfosetConsolidation (bool x) noexcept
 
LPInfosetSemicoarsening (bool x) noexcept
 
LPInfosetAgglomerationGridSize (int x) noexcept
 
LPInfosetConsolidationGridSize (int x) noexcept
 
LPInfosetConsolidationRatio (int x) noexcept
 
LPInfosetConsolidationStrategy (int x) noexcept
 
LPInfosetMetricTerm (bool x) noexcept
 
LPInfosetMaxCoarseningLevel (int n) noexcept
 
LPInfosetMaxSemicoarseningLevel (int n) noexcept
 
LPInfosetSemicoarseningDirection (int n) noexcept
 
LPInfosetHiddenDirection (int n) noexcept
 
bool hasHiddenDimension () const noexcept
 

Static Public Member Functions

static constexpr int getDefaultAgglomerationGridSize ()
 
static constexpr int getDefaultConsolidationGridSize ()
 

Public Attributes

bool do_agglomeration = true
 
bool do_consolidation = true
 
bool do_semicoarsening = false
 
int agg_grid_size = -1
 
int con_grid_size = -1
 
int con_ratio = 2
 
int con_strategy = 3
 
bool has_metric_term = true
 
int max_coarsening_level = 30
 
int max_semicoarsening_level = 0
 
int semicoarsening_direction = -1
 
int hidden_direction = -1
 

Member Function Documentation

◆ getDefaultAgglomerationGridSize()

static constexpr int amrex::LPInfo::getDefaultAgglomerationGridSize ( )
inlinestaticconstexpr

◆ getDefaultConsolidationGridSize()

static constexpr int amrex::LPInfo::getDefaultConsolidationGridSize ( )
inlinestaticconstexpr

◆ hasHiddenDimension()

bool amrex::LPInfo::hasHiddenDimension ( ) const
inlinenoexcept

◆ setAgglomeration()

LPInfo& amrex::LPInfo::setAgglomeration ( bool  x)
inlinenoexcept

◆ setAgglomerationGridSize()

LPInfo& amrex::LPInfo::setAgglomerationGridSize ( int  x)
inlinenoexcept

◆ setConsolidation()

LPInfo& amrex::LPInfo::setConsolidation ( bool  x)
inlinenoexcept

◆ setConsolidationGridSize()

LPInfo& amrex::LPInfo::setConsolidationGridSize ( int  x)
inlinenoexcept

◆ setConsolidationRatio()

LPInfo& amrex::LPInfo::setConsolidationRatio ( int  x)
inlinenoexcept

◆ setConsolidationStrategy()

LPInfo& amrex::LPInfo::setConsolidationStrategy ( int  x)
inlinenoexcept

◆ setHiddenDirection()

LPInfo& amrex::LPInfo::setHiddenDirection ( int  n)
inlinenoexcept

◆ setMaxCoarseningLevel()

LPInfo& amrex::LPInfo::setMaxCoarseningLevel ( int  n)
inlinenoexcept

◆ setMaxSemicoarseningLevel()

LPInfo& amrex::LPInfo::setMaxSemicoarseningLevel ( int  n)
inlinenoexcept

◆ setMetricTerm()

LPInfo& amrex::LPInfo::setMetricTerm ( bool  x)
inlinenoexcept

◆ setSemicoarsening()

LPInfo& amrex::LPInfo::setSemicoarsening ( bool  x)
inlinenoexcept

◆ setSemicoarseningDirection()

LPInfo& amrex::LPInfo::setSemicoarseningDirection ( int  n)
inlinenoexcept

Member Data Documentation

◆ agg_grid_size

int amrex::LPInfo::agg_grid_size = -1

◆ con_grid_size

int amrex::LPInfo::con_grid_size = -1

◆ con_ratio

int amrex::LPInfo::con_ratio = 2

◆ con_strategy

int amrex::LPInfo::con_strategy = 3

◆ do_agglomeration

bool amrex::LPInfo::do_agglomeration = true

◆ do_consolidation

bool amrex::LPInfo::do_consolidation = true

◆ do_semicoarsening

bool amrex::LPInfo::do_semicoarsening = false

◆ has_metric_term

bool amrex::LPInfo::has_metric_term = true

◆ hidden_direction

int amrex::LPInfo::hidden_direction = -1

◆ max_coarsening_level

int amrex::LPInfo::max_coarsening_level = 30

◆ max_semicoarsening_level

int amrex::LPInfo::max_semicoarsening_level = 0

◆ semicoarsening_direction

int amrex::LPInfo::semicoarsening_direction = -1

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