Chi-Tech
chi_physics::field_operations::FieldCopyOperation Class Reference

#include <field_copy.h>

Inheritance diagram for chi_physics::field_operations::FieldCopyOperation:
chi_physics::field_operations::FieldOperation ChiObject

Public Member Functions

 FieldCopyOperation (const chi::InputParameters &params)
 
void Execute () override
 
- Public Member Functions inherited from chi_physics::field_operations::FieldOperation
 FieldOperation (const chi::InputParameters &params)
 
virtual void Execute ()=0
 
virtual ~FieldOperation ()=default
 
- Public Member Functions inherited from ChiObject
 ChiObject ()
 
 ChiObject (const chi::InputParameters &params)
 
void SetStackID (size_t stack_id)
 
size_t StackID () const
 
virtual void PushOntoStack (std::shared_ptr< ChiObject > &new_object)
 
virtual ~ChiObject ()=default
 

Static Public Member Functions

static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from chi_physics::field_operations::FieldOperation
static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from ChiObject
static chi::InputParameters GetInputParameters ()
 

Private Attributes

const size_t to_field_handle_
 
const size_t from_field_handle_
 
std::vector< size_t > to_components_
 
std::vector< size_t > from_components_
 
std::shared_ptr< FieldFunctionGridBasedto_ff_
 
std::shared_ptr< const FieldFunctionGridBasedfrom_ff_
 

Detailed Description

Field operaiton that copies components of one field to the components of another.

Definition at line 12 of file field_copy.h.

Constructor & Destructor Documentation

◆ FieldCopyOperation()

chi_physics::field_operations::FieldCopyOperation::FieldCopyOperation ( const chi::InputParameters params)
explicit

Constructor.

Definition at line 53 of file field_copy.cc.

Member Function Documentation

◆ Execute()

void chi_physics::field_operations::FieldCopyOperation::Execute ( )
overridevirtual

Implements chi_physics::field_operations::FieldOperation.

Definition at line 134 of file field_copy.cc.

◆ GetInputParameters()

chi::InputParameters chi_physics::field_operations::FieldCopyOperation::GetInputParameters ( )
static

Returns the input parameters.

Definition at line 14 of file field_copy.cc.

Field Documentation

◆ from_components_

std::vector<size_t> chi_physics::field_operations::FieldCopyOperation::from_components_
private

Definition at line 19 of file field_copy.h.

◆ from_ff_

std::shared_ptr<const FieldFunctionGridBased> chi_physics::field_operations::FieldCopyOperation::from_ff_
private

Definition at line 22 of file field_copy.h.

◆ from_field_handle_

const size_t chi_physics::field_operations::FieldCopyOperation::from_field_handle_
private

Definition at line 16 of file field_copy.h.

◆ to_components_

std::vector<size_t> chi_physics::field_operations::FieldCopyOperation::to_components_
private

Definition at line 18 of file field_copy.h.

◆ to_ff_

std::shared_ptr<FieldFunctionGridBased> chi_physics::field_operations::FieldCopyOperation::to_ff_
private

Definition at line 21 of file field_copy.h.

◆ to_field_handle_

const size_t chi_physics::field_operations::FieldCopyOperation::to_field_handle_
private

Definition at line 15 of file field_copy.h.


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