WARPXM v1.10.0
Loading...
Searching...
No Matches
WmFunctionApplicator::applicator_t::components_t Class Reference

#include <wmfunctionapplicator.h>

Classes

class  component_t
 

Public Types

typedef std::vector< component_tcomponent_list_t
 Used to store variables.
 

Public Member Functions

 components_t ()
 Default constructor.
 
 ~components_t ()
 Destructor.
 
void set_parent_solver (const WmSolverBase &solver)
 Assign the parent solver to allow variable parsing.
 
int num_components () const
 
void setup (const WxCryptSet &wxc, const std::string &field_name)
 Parse the input to find the variables.
 
wxm::array::patch_array_tpatch_array (const int patch_index, const int component_index)
 Grab an array for a variable.
 
const wxm::array::patch_array_tpatch_array (const int patch_index, const int component_index) const
 Grab an array for a variable.
 
bool exists_on (const std::string &subdomain_name) const
 

Protected Member Functions

void parse_variable_name (const std::string &variable_name_set)
 

Protected Attributes

const WmSolverBase_parent_solver
 Parent solver.
 
component_list_t _components
 List of components that make up components_t.
 

Member Typedef Documentation

◆ component_list_t

Constructor & Destructor Documentation

◆ components_t()

WmFunctionApplicator::applicator_t::components_t::components_t ( )
inline

Default constructor.

◆ ~components_t()

WmFunctionApplicator::applicator_t::components_t::~components_t ( )
inline

Destructor.

Member Function Documentation

◆ exists_on()

bool WmFunctionApplicator::applicator_t::components_t::exists_on ( const std::string &  subdomain_name) const
inline

◆ num_components()

int WmFunctionApplicator::applicator_t::components_t::num_components ( ) const
inline

◆ parse_variable_name()

void WmFunctionApplicator::applicator_t::components_t::parse_variable_name ( const std::string &  variable_name_set)
protected

◆ patch_array() [1/2]

wxm::array::patch_array_t & WmFunctionApplicator::applicator_t::components_t::patch_array ( const int  patch_index,
const int  component_index 
)
inline

Grab an array for a variable.

Parameters
indexIndex of variable
Returns
Reference to variable array

◆ patch_array() [2/2]

const wxm::array::patch_array_t & WmFunctionApplicator::applicator_t::components_t::patch_array ( const int  patch_index,
const int  component_index 
) const
inline

Grab an array for a variable.

Parameters
indexIndex of variable
Returns
Reference to variable array

◆ set_parent_solver()

void WmFunctionApplicator::applicator_t::components_t::set_parent_solver ( const WmSolverBase solver)
inline

Assign the parent solver to allow variable parsing.

Parameters
solverParent solver

◆ setup()

void WmFunctionApplicator::applicator_t::components_t::setup ( const WxCryptSet wxc,
const std::string &  field_name 
)

Parse the input to find the variables.

Parameters
wxcCryptset
field_nameName of field to parse

Member Data Documentation

◆ _components

component_list_t WmFunctionApplicator::applicator_t::components_t::_components
protected

List of components that make up components_t.

◆ _parent_solver

const WmSolverBase* WmFunctionApplicator::applicator_t::components_t::_parent_solver
protected

Parent solver.


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