Nektar++
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Nektar::MultiRegions::RobBndCondOp< TData > Class Template Referenceabstract

#include <RobBndCondOp.hpp>

Inheritance diagram for Nektar::MultiRegions::RobBndCondOp< TData >:
[legend]

Public Member Functions

void Apply (LibUtilities::Field< TData, FieldState::Coeff > &in, LibUtilities::Field< TData, FieldState::Coeff > &out)
 
void operator() (LibUtilities::Field< TData, FieldState::Coeff > &in, LibUtilities::Field< TData, FieldState::Coeff > &out)
 
- Public Member Functions inherited from Nektar::MultiRegions::Operator< TData >
virtual ~Operator ()=default
 
 Operator (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > components)
 Construct the interface part of a concrete operator; called by the factory-registered creator functions.
 

Static Public Member Functions

static std::shared_ptr< RobBndCondOp< TData > > Create (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const std::string &execStr="")
 
- Static Public Member Functions inherited from Nektar::MultiRegions::Operator< TData >
template<template< typename > typename TOperator>
static std::shared_ptr< TOperator< TData > > Create (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > components, const std::string &execStr)
 Create a concrete operator instance through the operator factory.
 
static std::string GetOpExecSpace (std::shared_ptr< LibUtilities::SessionReader > session, const bool warn=true)
 Return the execution space name ("opExecSpace") for an operator.
 
static const DefaultOpImplRule * GetDefaultOpImplRule (const StdRegions::StdExpansionSharedPtr &exp, const std::string &execSpace)
 Return the row of the default implementation table (DefaultOpImplTable.hpp) that a block of elements takes, or null if none does.
 
static std::string GetDefaultOpImpl (const StdRegions::StdExpansionSharedPtr &exp, const std::string &execSpace)
 Return the implementation a block of elements takes when neither the command line nor the session names one for its operator.
 
static std::vector< unsigned int > GetDefaultInterleaveWidths (const MultiRegions::ExpListSharedPtr &expansionList)
 Return the default interleave widths, one per block of expansionList, that persistent Fields (e.g. solution storage, time-integration and linear-solver workspace) built on it should be constructed with.
 
static bool IsDiscontinuousProjection (std::shared_ptr< LibUtilities::SessionReader > session)
 Return true if the session uses a Discontinuous (DG) projection.
 

Static Public Attributes

static const std::string name = "RobBndCond"
 

Protected Member Functions

 RobBndCondOp (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components)
 
 ~RobBndCondOp () override=default
 
virtual void v_Apply (LibUtilities::Field< TData, FieldState::Coeff > &in, LibUtilities::Field< TData, FieldState::Coeff > &out)=0
 

Additional Inherited Members

- Protected Attributes inherited from Nektar::MultiRegions::Operator< TData >
MultiRegions::ExpListSharedPtr m_expansionList
 Expansion list the operator acts on.
 
std::vector< std::string > m_components
 Names of the field components the operator was built for.
 
LibUtilities::NekDataWarehouseSharedPtr m_dataWarehouse
 Data warehouse shared with the other operators on the expansion list, used to build and cache shared tables (basis matrices, mode indices, geometric factors) once.
 

Detailed Description

template<typename TData>
class Nektar::MultiRegions::RobBndCondOp< TData >

Definition at line 44 of file RobBndCondOp.hpp.

Constructor & Destructor Documentation

◆ RobBndCondOp()

template<typename TData >
Nektar::MultiRegions::RobBndCondOp< TData >::RobBndCondOp ( const MultiRegions::ExpListSharedPtr &  expansionList,
const std::vector< std::string > &  components 
)
inlineprotected

Definition at line 71 of file RobBndCondOp.hpp.

73 : Operator<TData>(expansionList, components)
74 {
75 }

◆ ~RobBndCondOp()

template<typename TData >
Nektar::MultiRegions::RobBndCondOp< TData >::~RobBndCondOp ( )
overrideprotecteddefault

Member Function Documentation

◆ Apply()

template<typename TData >
void Nektar::MultiRegions::RobBndCondOp< TData >::Apply ( LibUtilities::Field< TData, FieldState::Coeff > &  in,
LibUtilities::Field< TData, FieldState::Coeff > &  out 
)
inline

Definition at line 58 of file RobBndCondOp.hpp.

60 {
61 v_Apply(in, out);
62 }
virtual void v_Apply(LibUtilities::Field< TData, FieldState::Coeff > &in, LibUtilities::Field< TData, FieldState::Coeff > &out)=0

References Nektar::MultiRegions::RobBndCondOp< TData >::v_Apply().

◆ Create()

template<typename TData >
static std::shared_ptr< RobBndCondOp< TData > > Nektar::MultiRegions::RobBndCondOp< TData >::Create ( const MultiRegions::ExpListSharedPtr &  expansionList,
const std::vector< std::string > &  components,
const std::string &  execStr = "" 
)
inlinestatic

Definition at line 47 of file RobBndCondOp.hpp.

51 {
52 return Operator<TData>::template Create<RobBndCondOp>(
53 expansionList, components, execStr);
54 }

Referenced by TestRobin< TData >::RunTestCase().

◆ operator()()

template<typename TData >
void Nektar::MultiRegions::RobBndCondOp< TData >::operator() ( LibUtilities::Field< TData, FieldState::Coeff > &  in,
LibUtilities::Field< TData, FieldState::Coeff > &  out 
)
inline

Definition at line 64 of file RobBndCondOp.hpp.

66 {
67 v_Apply(in, out);
68 }

References Nektar::MultiRegions::RobBndCondOp< TData >::v_Apply().

◆ v_Apply()

template<typename TData >
virtual void Nektar::MultiRegions::RobBndCondOp< TData >::v_Apply ( LibUtilities::Field< TData, FieldState::Coeff > &  in,
LibUtilities::Field< TData, FieldState::Coeff > &  out 
)
protectedpure virtual

Member Data Documentation

◆ name

template<typename TData >
const std::string Nektar::MultiRegions::RobBndCondOp< TData >::name = "RobBndCond"
inlinestatic

Definition at line 56 of file RobBndCondOp.hpp.