KADATH
Kadath::Ope_import Class Reference

Operator importing the values of a field from a neighborig Domain. More...

#include <ope_eq.hpp>

Inheritance diagram for Kadath::Ope_import:
Kadath::Ope_eq

Public Member Functions

 Ope_import (const System_of_eqs *syst, int dd, int bb, const char *field)
 Constructor. More...
 
 ~Ope_import () override
 Destructor. More...
 
Term_eq action () const override
 Computes the action of the current Ope_eq using its various parts. More...
 
int get_dom () const
 

Protected Attributes

int bound
 The boundary where the field is imported. More...
 
Array< int > others
 2d array containing. More...
 
const System_of_eqssyst
 The associated System_of_eqs. More...
 
int dom
 Index of the Domain where the operator is defined. More...
 
int n_ope
 Number of terms involved (2 for + for instance, only one for sqrt...) More...
 
MMPtr_array< Ope_eqparts
 Pointers of the various parts of the current operator. More...
 

Detailed Description

Operator importing the values of a field from a neighborig Domain.

Definition at line 1288 of file ope_eq.hpp.

Constructor & Destructor Documentation

◆ Ope_import()

Kadath::Ope_import::Ope_import ( const System_of_eqs syst,
int  dd,
int  bb,
const char *  field 
)

Constructor.

Parameters
syst: the associated System_of_eqs.
dd: index of the domain considered.
bb: the boundary.
field: the quantity to be imported.

Definition at line 26 of file ope_import.cpp.

References Kadath::Array< T >::get_size(), Kadath::System_of_eqs::give_ope(), Kadath::Ope_eq::n_ope, others, Kadath::Ope_eq::parts, and Kadath::Ope_eq::syst.

◆ ~Ope_import()

Kadath::Ope_import::~Ope_import ( )
override

Destructor.

Definition at line 35 of file ope_import.cpp.

Member Function Documentation

◆ action()

Term_eq Kadath::Ope_import::action ( ) const
overridevirtual

Computes the action of the current Ope_eq using its various parts.

Returns
the Term_eq containing the result.

Implements Kadath::Ope_eq.

Definition at line 38 of file ope_import.cpp.

References bound, Kadath::Ope_eq::dom, Kadath::Space::get_domain(), Kadath::System_of_eqs::get_space(), Kadath::Domain::import(), Kadath::Ope_eq::n_ope, Kadath::Ope_eq::parts, and Kadath::Ope_eq::syst.

◆ get_dom()

int Kadath::Ope_eq::get_dom ( ) const
inlineinherited
Returns
the index of the Domain.

Definition at line 53 of file ope_eq.hpp.

References Kadath::Ope_eq::dom.

Member Data Documentation

◆ bound

int Kadath::Ope_import::bound
protected

The boundary where the field is imported.

Definition at line 1291 of file ope_eq.hpp.

◆ dom

int Kadath::Ope_eq::dom
protectedinherited

Index of the Domain where the operator is defined.

Definition at line 36 of file ope_eq.hpp.

◆ n_ope

int Kadath::Ope_eq::n_ope
protectedinherited

Number of terms involved (2 for + for instance, only one for sqrt...)

Definition at line 37 of file ope_eq.hpp.

◆ others

Array<int> Kadath::Ope_import::others
protected

2d array containing.

  • in (0,*) the indexes of the domains situated on the other side of the boundary.
  • in (1,*) the name of the boundary, as seen by the other domains.

Definition at line 1297 of file ope_eq.hpp.

◆ parts

MMPtr_array<Ope_eq> Kadath::Ope_eq::parts
protectedinherited

Pointers of the various parts of the current operator.

Definition at line 38 of file ope_eq.hpp.

◆ syst

const System_of_eqs* Kadath::Ope_eq::syst
protectedinherited

The associated System_of_eqs.

Definition at line 35 of file ope_eq.hpp.


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