 |
| v0.14.0
|
Go to the documentation of this file.
9 #ifndef _ISMANAGER_HPP__
10 #define _ISMANAGER_HPP__
120 int max_order, IS *is)
const;
145 const std::string field,
147 int max_coeff_idx, IS *is,
148 Range *ents =
nullptr)
const;
164 const std::string field,
int min_coeff_idx,
166 Range *ents =
nullptr)
const;
179 const std::vector<boost::weak_ptr<NumeredDofEntity>> &dofs_vec,
193 const std::vector<boost::weak_ptr<NumeredDofEntity>> &dofs_vec,
212 int min_coeff_idx,
int max_coeff_idx, IS *is,
213 Range *ents =
nullptr)
const;
228 const std::string problem_name,
RowColData rc,
const std::string field,
230 Range *ents =
nullptr)
const;
248 const std::string problem_name,
RowColData rc,
const std::string field,
249 EntityType low_type, EntityType hi_type,
int min_coeff_idx,
250 int max_coeff_idx, IS *is,
Range *ents =
nullptr)
const;
270 const std::string x_problem,
const std::string x_field_name,
272 const std::string y_field_name,
RowColData y_rc, std::vector<int> &idx,
273 std::vector<int> &idy)
const;
292 const std::string x_problem,
const std::string x_field_name,
294 const std::string y_field_name,
RowColData y_rc, IS *ix, IS *iy)
const;
309 const std::string x_problem,
RowColData x_rc,
const std::string y_problem,
310 RowColData y_rc, std::vector<int> &idx, std::vector<int> &idy)
const;
326 const std::string y_problem,
340 #endif // _ISMANAGER_HPP__
MoFEMErrorCode isCreateProblemFieldAndRank(const std::string problem_name, RowColData rc, const std::string field, int min_coeff_idx, int max_coeff_idx, IS *is, Range *ents=nullptr) const
create IS for given problem, field and rank range (collective)
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
MoFEMErrorCode isCreateFromProblemFieldToOtherProblemField(const std::string x_problem, const std::string x_field_name, RowColData x_rc, const std::string y_problem, const std::string y_field_name, RowColData y_rc, std::vector< int > &idx, std::vector< int > &idy) const
create IS for give two problems and field
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
Deprecated interface functions.
MoFEMErrorCode isCreateProblem(const std::string problem_name, RowColData rc, IS *is) const
Create IS for problem.
MoFEMErrorCode isCreateProblemBrokenFieldAndRankLocal(const std::vector< boost::weak_ptr< NumeredDofEntity >> &dofs_vec, SmartPetscObj< IS > &smart_is) const
IS for given problem, field and rank range (collective)
implementation of Data Operators for Forces and Sources
Section manager is used to create indexes and sections.
const MoFEM::Interface & cOre
MoFEMErrorCode isCreateProblemFieldAndRankLocal(const std::string problem_name, RowColData rc, const std::string field, int min_coeff_idx, int max_coeff_idx, IS *is, Range *ents=nullptr) const
create IS for given problem, field and rank range (collective)
base class for all interface classes
ISManager(const MoFEM::Core &core)
MoFEMErrorCode isCreateProblemBrokenFieldAndRank(const std::vector< boost::weak_ptr< NumeredDofEntity >> &dofs_vec, SmartPetscObj< IS > &smart_is, MPI_Comm comm=PETSC_COMM_SELF) const
IS for given problem, field and rank range (collective)
MoFEMErrorCode isCreateFromProblemToOtherProblem(const std::string x_problem, RowColData x_rc, const std::string y_problem, RowColData y_rc, std::vector< int > &idx, std::vector< int > &idy) const
Create is from one problem to other problem.
MoFEMErrorCode sectionCreate(const std::string problem_name, PetscSection *s, const RowColData row_col=COL) const
Create global selection.
MoFEMErrorCode isCreateProblemFieldAndEntityType(const std::string problem_name, RowColData rc, const std::string field, EntityType low_type, EntityType hi_type, int min_coeff_idx, int max_coeff_idx, IS *is, Range *ents=nullptr) const
create IS for given problem, field and type range (collective)
intrusive_ptr for managing petsc objects
MoFEMErrorCode isCreateProblemOrder(const std::string problem_name, RowColData rc, int min_order, int max_order, IS *is) const
create IS for given order range (collective)
virtual ~ISManager()=default
Destructor.