Digital Image Correlation Engine
Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
|
A container class for the data structures used in DICe This class was created to enable switching back and forth between data structures based on the compute architecture. More...
#include <DICe_MultiFieldEpetra.h>
Public Member Functions | |
MultiField (Teuchos::RCP< MultiField_Map > &map, const int_t &num_fields, const bool &zero_values=false) | |
Default constructor. More... | |
virtual | ~MultiField () |
Destructor. | |
Teuchos::RCP< MultiField_Map > | get_map () const |
Returns a pointer to this field's map. | |
int_t | get_num_fields () const |
Returns the number of fields. | |
Teuchos::RCP< Epetra_MultiVector > | get () const |
Returns a pointer to the underlying vector data type. | |
mv_scalar_type & | global_value (const int_t global_id, const int_t field_index=0) |
value accessor More... | |
mv_scalar_type & | local_value (const int_t local_id, const int_t field_index=0) |
value accessor More... | |
void | update (const mv_scalar_type &alpha, const MultiField &multifield, const mv_scalar_type &beta) |
axpby for MultiField More... | |
void | do_import (Teuchos::RCP< MultiField > multifield, MultiField_Importer &importer, const Combine_Mode mode=INSERT) |
import the data from one distributed object to this one More... | |
void | do_import (Teuchos::RCP< MultiField > multifield, MultiField_Exporter &exporter, const Combine_Mode mode=INSERT) |
import the data from one distributed object to this one More... | |
void | do_export (Teuchos::RCP< MultiField > multifield, MultiField_Exporter &exporter, const Combine_Mode mode=INSERT) |
export the data from one distributed object to this one More... | |
Teuchos::ArrayRCP< const scalar_t > | get_1d_view () const |
Return an array of values for the multifield (most only contain one vector so the first index is 0) | |
scalar_t | norm (const int_t field_index=0) |
scalar_t | norm (Teuchos::RCP< MultiField > multifield) |
void | put_scalar (const mv_scalar_type &scalar) |
void | describe () const |
print the vector to the screen | |
MultiField (Teuchos::RCP< MultiField_Map > map, const int_t &num_fields, const bool &zero_values=false) | |
Default constructor. More... | |
virtual | ~MultiField () |
Destructor. | |
Teuchos::RCP< MultiField_Map > | get_map () const |
Returns a pointer to the map for this field. | |
int_t | get_num_fields () const |
Returns the number of fields. | |
Teuchos::RCP< vec_type > | get () const |
Returns a pointer to the underlying vector data type. | |
void | describe () const |
Print the matrix to the screen. | |
scalar_t & | global_value (const int_t global_id, const int_t field_index=0) |
value accessor More... | |
scalar_t & | local_value (const int_t local_id, const int_t field_index=0) |
value accessor More... | |
void | put_scalar (const scalar_t &value) |
put that same value in all elements of this Multivector More... | |
void | update (const scalar_t &alpha, const MultiField &multifield, const scalar_t &beta) |
axpby for MultiField More... | |
void | do_import (Teuchos::RCP< MultiField > multifield, MultiField_Importer &importer, const Combine_Mode mode=INSERT) |
import the data from one distributed object to this one More... | |
void | do_import (Teuchos::RCP< MultiField > multifield, MultiField_Exporter &exporter, const Combine_Mode mode=INSERT) |
import the data from one distributed object to this one More... | |
void | do_export (Teuchos::RCP< MultiField > multifield, MultiField_Exporter &exporter, const Combine_Mode mode=INSERT) |
export the data from one distributed object to this one More... | |
scalar_t | norm (const int_t field_index=0) |
scalar_t | norm (Teuchos::RCP< MultiField > multifield) |
Teuchos::ArrayRCP< const scalar_t > | get_1d_view () const |
returns a view of the multivector's data | |
Private Attributes | |
Teuchos::RCP< Epetra_MultiVector > | epetra_mv_ |
Pointer to the underlying data type. | |
Teuchos::RCP< MultiField_Map > | map_ |
Pointer to the underlying map. | |
Teuchos::RCP< vec_type > | tpetra_mv_ |
Pointer to the underlying data type. | |
A container class for the data structures used in DICe This class was created to enable switching back and forth between data structures based on the compute architecture.
|
inline |
Default constructor.
map | the map that organizes the data across processors |
num_fields | the number of fields stored as columns |
zero_values | set to true if the vectors should be initialized with zeros |
|
inline |
Default constructor.
map | the map that organizes the data across processors |
num_fields | the number of fields stored as columns |
zero_values | set to true if the vectors should be initialized with zeros |
|
inline |
export the data from one distributed object to this one
multifield | the multifield to export |
exporter | the exporter defines how the information will be transferred |
mode | combine mode |
|
inline |
export the data from one distributed object to this one
multifield | the multifield to export |
exporter | the exporter defines how the information will be transferred |
mode | combine mode |
|
inline |
import the data from one distributed object to this one
multifield | the multifield to import |
exporter | the importer defines how the information will be transferred |
mode | combine mode |
For more information about importing and exporting see the Trilinos docs
|
inline |
import the data from one distributed object to this one
multifield | the multifield to import |
exporter | the importer defines how the information will be transferred |
mode | combine mode |
For more information about importing and exporting see the Trilinos docs
|
inline |
import the data from one distributed object to this one
multifield | the multifield to import |
importer | the importer defines how the information will be transferred |
mode | combine mode |
For more information about importing and exporting see the Trilinos docs
|
inline |
import the data from one distributed object to this one
multifield | the multifield to import |
importer | the importer defines how the information will be transferred |
mode | combine mode |
For more information about importing and exporting see the Trilinos docs
|
inline |
value accessor
global_id | the global id of the intended element |
field_index | the index of the field to access Warning: Epetra does not have a scalar type, its hard coded as mv_scalar_type |
|
inline |
value accessor
global_id | the global id of the intended element |
field_index | the index of the field to access |
|
inline |
value accessor
local_id | the local id of the intended element |
field_index | the index of the field to access Warning: Epetra does not have a scalar type, its hard coded as mv_scalar_type |
|
inline |
value accessor
local_id | the global id of the intended element |
field_index | the index of the field to access |
Compute the 2 norm of the vector
field_index | The field of which to take the norm |
Compute the 2 norm of the vector
field_index | The field of which to take the norm |
|
inline |
Compute the 2 norm of this vector minus another
multifield | the field to diff against |
|
inline |
Compute the 2 norm of this vector minus another
multifield | the field to diff against |
|
inline |
set all the values in this field to the given scalar
scalar |
|
inline |
put that same value in all elements of this Multivector
value | The value to populate with |
|
inline |
axpby for MultiField
alpha | Multiplier of the input MultiField |
multifield | Input multifield |
beta | Multiplier of this Multifield Result is this = beta*this + alpha*multifield |
|
inline |
axpby for MultiField
alpha | Multiplier of the input MultiField |
multifield | Input multifield |
beta | Multiplier of this Multifield Result is this = beta*this + alpha*multifield |