120 virtual MapperInterfaceInfo::Pointer
Create()
const = 0;
155 virtual void GetValue(std::vector<std::size_t>& rValue,
const InfoType ValueType)
const {
KRATOS_ERROR <<
"Base class function called!" << std::endl; }
158 virtual void GetValue(std::vector<GeometryType>& rValue,
const InfoType ValueType)
const {
KRATOS_ERROR <<
"Base class function called!" << std::endl; }
165 virtual std::string
Info()
const
167 return "MapperInterfaceInfo";
195 mLocalSearchWasSuccessful =
true;
196 mIsApproximation =
false;
204 mLocalSearchWasSuccessful =
true;
206 mIsApproximation =
true;
215 bool mIsApproximation =
false;
217 bool mLocalSearchWasSuccessful =
false;
225 virtual void save(
Serializer& rSerializer)
const
228 rSerializer.
save(
"IsApproximation", mIsApproximation);
234 rSerializer.
load(
"IsApproximation", mIsApproximation);
Geometry base class.
Definition: geometry.h:71
Object used by the bin-search.
Definition: interface_object.h:40
BaseType::CoordinatesArrayType CoordinatesArrayType
Definition: interface_object.h:50
ConstructionType
Definition: interface_object.h:63
Object for storing data that is needed to construct the local-mapping-system.
Definition: mapper_interface_info.h:42
void SetLocalSearchWasSuccessful()
Definition: mapper_interface_info.h:193
virtual void GetValue(std::vector< GeometryType > &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:158
InfoType
Definition: mapper_interface_info.h:62
IndexType mSourceRank
Definition: mapper_interface_info.h:187
virtual InterfaceObject::ConstructionType GetInterfaceObjectType() const =0
returning the type of construction for the InterfaceObject The returned type is used to create the ob...
virtual void GetValue(GeometryType &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:152
virtual void GetValue(std::vector< std::size_t > &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:155
InterfaceObject::NodeType NodeType
Definition: mapper_interface_info.h:54
virtual MapperInterfaceInfo::Pointer Create(const CoordinatesArrayType &rCoordinates, const IndexType SourceLocalSystemIndex, const IndexType SourceRank) const =0
virtual void GetValue(std::vector< double > &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:156
virtual void GetValue(std::vector< int > &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:154
virtual void GetValue(int &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:148
virtual void ProcessSearchResult(const InterfaceObject &rInterfaceObject)=0
Processing the result of the search This function processes the results of the search,...
virtual void GetValue(std::vector< bool > &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:157
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: mapper_interface_info.h:174
IndexType GetLocalSystemIndex() const
Definition: mapper_interface_info.h:131
CoordinatesArrayType mCoordinates
Definition: mapper_interface_info.h:186
bool GetLocalSearchWasSuccessful() const
Definition: mapper_interface_info.h:135
virtual void GetValue(double &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:150
std::size_t IndexType
Definition: mapper_interface_info.h:50
virtual void GetValue(std::size_t &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:149
InterfaceObject::GeometryType GeometryType
Definition: mapper_interface_info.h:55
IndexType GetSourceRank() const
Definition: mapper_interface_info.h:133
KRATOS_CLASS_POINTER_DEFINITION(MapperInterfaceInfo)
Pointer definition of MapperInterfaceInfo.
virtual void GetValue(bool &rValue, const InfoType ValueType) const
Definition: mapper_interface_info.h:151
void SetIsApproximation()
Definition: mapper_interface_info.h:199
MapperInterfaceInfo(const CoordinatesArrayType &rCoordinates, const IndexType SourceLocalSystemIndex, const IndexType SourceRank)
Definition: mapper_interface_info.h:73
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: mapper_interface_info.h:171
IndexType mSourceLocalSystemIndex
Definition: mapper_interface_info.h:183
MapperInterfaceInfo()=default
Default constructor.
virtual std::string Info() const
Turn back information as a string.
Definition: mapper_interface_info.h:165
bool GetIsApproximation() const
Definition: mapper_interface_info.h:137
InterfaceObject::CoordinatesArrayType CoordinatesArrayType
Definition: mapper_interface_info.h:52
virtual void ProcessSearchResultForApproximation(const InterfaceObject &rInterfaceObject)
Processing the result of the search for computing an approximation This function processes the result...
Definition: mapper_interface_info.h:113
CoordinatesArrayType & Coordinates()
Definition: mapper_interface_info.h:139
virtual ~MapperInterfaceInfo()=default
Destructor.
virtual MapperInterfaceInfo::Pointer Create() const =0
This class defines the node.
Definition: node.h:65
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void load(std::string const &rTag, TDataType &rObject)
Definition: serializer.h:207
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
#define KRATOS_ERROR
Definition: exception.h:161
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307