9#ifndef __VECMANAGER_HPP__
10#define __VECMANAGER_HPP__
81 const std::string x_field_name,
83 const std::string y_problem,
84 const std::string y_field_name,
91 const std::string x_field_name,
RowColData x_rc, Vec yin,
92 const std::string y_problem,
const std::string y_field_name,
110 VecScatter *newctx)
const;
116 Vec yin,
const std::string y_problem,
RowColData y_rc,
136 Vec V, InsertMode mode,
137 ScatterMode scatter_mode)
const;
156 Vec V, InsertMode mode,
157 ScatterMode scatter_mode)
const;
176 Vec V, InsertMode mode,
177 ScatterMode scatter_mode)
const;
196 Vec V, InsertMode mode,
197 ScatterMode scatter_mode)
const;
217 const std::string cpy_field_name,
219 ScatterMode scatter_mode)
const;
239 const std::string cpy_field_name,
241 ScatterMode scatter_mode)
const;
263 const std::string cpy_field_name,
266 ScatterMode scatter_mode)
const;
289 const std::string cpy_field_name,
292 ScatterMode scatter_mode)
const;
MoFEMErrorCode vecCreateGhost(const std::string name, RowColData rc, Vec *V) const
create ghost vector for problem (collective)
MoFEMErrorCode setOtherLocalGhostVector(const Problem *problem_ptr, const std::string field_name, const std::string cpy_field_name, RowColData rc, Vec V, InsertMode mode, ScatterMode scatter_mode) const
Copy vector to field which is not part of the problem.
MoFEMErrorCode setGlobalGhostVector(const Problem *problem_ptr, RowColData rc, Vec V, InsertMode mode, ScatterMode scatter_mode) const
set values of vector from/to mesh database (collective)
MoFEMErrorCode vecScatterCreate(Vec xin, const std::string x_problem, const std::string x_field_name, RowColData x_rc, Vec yin, const std::string y_problem, const std::string y_field_name, RowColData y_rc, VecScatter *newctx) const
create scatter for vectors form one to another problem (collective)
MoFEMErrorCode vecCreateSeq(const std::string name, RowColData rc, Vec *V) const
create local vector for problem
MoFEMErrorCode setLocalGhostVector(const Problem *problem_ptr, RowColData rc, Vec V, InsertMode mode, ScatterMode scatter_mode) const
set values of vector from/to mesh database
MoFEMErrorCode setOtherGlobalGhostVector(const Problem *problem_ptr, const std::string field_name, const std::string cpy_field_name, RowColData rc, Vec V, InsertMode mode, ScatterMode scatter_mode) const
Copy vector to field which is not part of the problem (collective)
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
constexpr auto field_name
Deprecated interface functions.
keeps basic data about problem
intrusive_ptr for managing petsc objects
base class for all interface classes
Vector manager is used to create vectors \mofem_vectors.
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
const MoFEM::Interface & cOre