|
| | LData (std::string name, unsigned int num_local_nodes, unsigned int depth, std::vector< int > nonlocal_petsc_indices=std::vector< int >(0)) |
| | Constructor. More...
|
| |
| | LData (std::string name, Vec vec, std::vector< int > nonlocal_petsc_indices=std::vector< int >(0), const bool manage_petsc_vec=true) |
| | Constructor. More...
|
| |
| | LData (SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > db) |
| | Constructor. More...
|
| |
| virtual | ~LData () |
| | Virtual destructor. More...
|
| |
| virtual void | resetData (Vec vec, const std::vector< int > &nonlocal_petsc_indices=std::vector< int >(0), const bool manage_petsc_vec=true) |
| | Reset data items. More...
|
| |
| const std::string & | getName () const |
| | Returns a const reference to the name of this LData object. More...
|
| |
| unsigned int | getGlobalNodeCount () const |
| | Returns the total number of Lagrangian nodes. More...
|
| |
| unsigned int | getLocalNodeCount () const |
| | Returns the number of local (i.e., on processor) Lagrangian nodes. More...
|
| |
| unsigned int | getGhostNodeCount () const |
| | Returns the number of local ghost nodes associated with the LData object. More...
|
| |
| unsigned int | getDepth () const |
| | Returns the depth (i.e., the number of components per node) of the Lagrangian data. More...
|
| |
| Vec | getVec () |
| | Returns the PETSc Vec object that stores the data. More...
|
| |
| boost::multi_array_ref< double, 1 > * | getArray () |
| | Returns a pointer to a boost::multi_array_ref object that wraps the array corresponding to the PETSc Vec object. This method is appropriate only for scalar-valued quantities. More...
|
| |
| boost::multi_array_ref< double, 1 > * | getLocalFormArray () |
| | Returns a pointer to a boost::multi_array_ref object that wraps the array corresponding to the PETSc Vec object. This method is appropriate only for scalar-valued quantities. More...
|
| |
| boost::multi_array_ref< double, 1 > * | getGhostedLocalFormArray () |
| | Returns a pointer to a boost::multi_array_ref object that wraps the array corresponding to the ghosted local part of the PETSc Vec object. This method is appropriate only for scalar-valued quantities. More...
|
| |
| boost::multi_array_ref< double, 2 > * | getVecArray () |
| | Returns a pointer to a boost::multi_array_ref object that wraps the array corresponding to the PETSc Vec object. This method is appropriate for either scalar- or vector-valued quantities. More...
|
| |
| boost::multi_array_ref< double, 2 > * | getLocalFormVecArray () |
| | Returns a pointer to a boost::multi_array_ref object that wraps the array corresponding to the PETSc Vec object. This method is appropriate for either scalar- or vector-valued quantities. More...
|
| |
| boost::multi_array_ref< double, 2 > * | getGhostedLocalFormVecArray () |
| | Returns a pointer to a boost::multi_array_ref object that wraps the array corresponding to the ghosted local part of the PETSc Vec object. This method is appropriate for either scalar- or vector-valued quantities. More...
|
| |
| void | restoreArrays () |
| | Restore any arrays extracted via calls to getArray(), getLocalFormArray(), and getGhostedLocalFormArray(). More...
|
| |
| void | beginGhostUpdate () |
| | Begin updating ghost values. More...
|
| |
| void | endGhostUpdate () |
| | End updating ghost values. More...
|
| |
| void | putToDatabase (SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > db) override |
| | Write out object state to the given database. More...
|
| |
|
| std::string | d_name |
| |
| unsigned int | d_global_node_count = 0 |
| |
| unsigned int | d_local_node_count = 0 |
| |
| unsigned int | d_ghost_node_count = 0 |
| |
| unsigned int | d_depth = 0 |
| |
| std::vector< int > | d_nonlocal_petsc_indices |
| |
| Vec | d_global_vec = nullptr |
| |
| bool | d_managing_petsc_vec = true |
| |
| double * | d_array = nullptr |
| |
| boost::multi_array_ref< double, 1 > | d_boost_array { nullptr, std::vector<int>{ 0 } } |
| |
| boost::multi_array_ref< double, 1 > | d_boost_local_array { nullptr, std::vector<int>{ 0 } } |
| |
| boost::multi_array_ref< double, 2 > | d_boost_vec_array { nullptr, std::vector<int>{ 0, 0 } } |
| |
| boost::multi_array_ref< double, 2 > | d_boost_local_vec_array { nullptr, std::vector<int>{ 0, 0 } } |
| |
| Vec | d_ghosted_local_vec = nullptr |
| |
| double * | d_ghosted_local_array = nullptr |
| |
| boost::multi_array_ref< double, 1 > | d_boost_ghosted_local_array { nullptr, std::vector<int>{ 0 } } |
| |
| boost::multi_array_ref< double, 2 > | d_boost_vec_ghosted_local_array { nullptr, std::vector<int>{ 0, 0 } } |
| |