19 #ifndef __VECMANAGER_HPP__
20 #define __VECMANAGER_HPP__
91 const std::string x_field_name,
93 const std::string y_problem,
94 const std::string y_field_name,
102 const std::string y_problem,
const std::string y_field_name,
120 VecScatter *newctx)
const;
146 Vec V, InsertMode mode,
147 ScatterMode scatter_mode)
const;
166 Vec V, InsertMode mode,
167 ScatterMode scatter_mode)
const;
186 Vec V, InsertMode mode,
187 ScatterMode scatter_mode)
const;
206 Vec V, InsertMode mode,
207 ScatterMode scatter_mode)
const;
226 const std::string field_name,
227 const std::string cpy_field_name,
229 ScatterMode scatter_mode)
const;
248 const std::string field_name,
249 const std::string cpy_field_name,
251 ScatterMode scatter_mode)
const;
272 const std::string field_name,
273 const std::string cpy_field_name,
276 ScatterMode scatter_mode)
const;
298 const std::string field_name,
299 const std::string cpy_field_name,
302 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 meshdatabase
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)
const FTensor::Tensor2< T, Dim, Dim > Vec
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
Deprecated interface functions.
keeps basic data about problem
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
VecManager(const MoFEM::Core &core)