#include <iostream>
#include "Teuchos_RCP.hpp"
#include "Panzer_BC.hpp"
#include "Panzer_BCStrategy_TemplateManager.hpp"
Go to the source code of this file.
◆ PANZER_DECLARE_BCSTRATEGY_TEMPLATE_BUILDER
#define PANZER_DECLARE_BCSTRATEGY_TEMPLATE_BUILDER |
( |
|
fClass, |
|
|
|
fType |
|
) |
| |
Value:\
struct fType ## _TemplateBuilder \
{ \
const Teuchos::RCP<panzer::GlobalData> m_global_data; \
fType ## _TemplateBuilder( \
: \
m_bc(bc), \
{ \
} \
\
template<typename EvalT> \
Teuchos::RCP<panzer::BCStrategyBase> build() const \
{ \
fClass<EvalT>* ptr = new fClass<EvalT>(m_bc, m_global_data); \
return Teuchos::rcp(ptr); \
} \
\
};
Teuchos::RCP< panzer::GlobalData > global_data
Stores input information for a boundary condition.
Definition at line 49 of file Panzer_BCStrategy_Factory_Defines.hpp.
◆ PANZER_DECLARE_BCSTRATEGY_TEMPLATE_BUILDER_EXTRA
#define PANZER_DECLARE_BCSTRATEGY_TEMPLATE_BUILDER_EXTRA |
( |
|
fClass, |
|
|
|
fType, |
|
|
|
extraSteps |
|
) |
| |
Value:\
struct fType ## _TemplateBuilder \
{ \
const Teuchos::RCP<panzer::GlobalData> m_global_data; \
fType ## _TemplateBuilder( \
: \
m_bc(bc), \
{ \
} \
\
template<typename EvalT> \
Teuchos::RCP<panzer::BCStrategyBase> build() const \
{ \
fClass<EvalT>* ptr = new fClass<EvalT>(m_bc, m_global_data); \
{ \
extraSteps \
} \
return Teuchos::rcp(ptr); \
} \
\
};
Teuchos::RCP< panzer::GlobalData > global_data
Stores input information for a boundary condition.
Definition at line 73 of file Panzer_BCStrategy_Factory_Defines.hpp.
◆ PANZER_BUILD_BCSTRATEGY_OBJECTS
#define PANZER_BUILD_BCSTRATEGY_OBJECTS |
( |
|
key, |
|
|
|
fType |
|
) |
| |
Value:if (bc.strategy() == key) \
{ \
bcs_tm->buildObjects(builder); \
found = true; \
}
Teuchos::RCP< panzer::GlobalData > global_data
Definition at line 102 of file Panzer_BCStrategy_Factory_Defines.hpp.