1 #ifndef SM_NetworkBuilder_H
2 #define SM_NetworkBuilder_H
12 #include "SM_Network.h"
15 #include "SM_CrystalStructure.h"
109 const std::array<tBoolean,SM_Constants::DIM>& isPeriodic,
110 const std::array<tReal,SM_Constants::DIM>& X0,
111 const std::array<tInteger,SM_Constants::DIM>& Ns,
112 const std::valarray<tMask>& mask,
123 const std::array<tBoolean,SM_Constants::DIM>& isPeriodic,
124 const tString& domainExpression,
135 const std::array<tBoolean,SM_Constants::DIM>& isPeriodic,
136 const std::array<tInteger,SM_Constants::DIM>& Ns,
150 const std::array<tReal,SM_Constants::DIM>& X0,
151 const std::array<tInteger,SM_Constants::DIM>& Ns,
164 const std::array<tInteger,SM_Constants::DIM>& Ns,
180 const std::array<tBoolean,SM_Constants::DIM>& isPeriodic,
181 const std::array<tReal,SM_Constants::DIM>& X0,
182 const std::array<tInteger,SM_Constants::DIM>& Ns,
186 std::valarray<tMask> mask(1);
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: CORE_Object.h:278
This class decribe a crystal structure.
Definition: SM_CrystalStructure.h:30
This class is dedicated to build a network.
Definition: SM_NetworkBuilder.h:28
void buildPaverNetwork(const SM_CrystalStructure &cStructure, const std::array< tInteger, SM_Constants::DIM > &Ns, SM_Network &network)
build the network from a grid paver
Definition: SM_NetworkBuilder.h:163
virtual tMemSize getContentsMemorySize() const
return the memory size of the included associations
Definition: SM_NetworkBuilder.h:86
void buildPaverNetwork(const SM_CrystalStructure &cStructure, const std::array< tReal, SM_Constants::DIM > &X0, const std::array< tInteger, SM_Constants::DIM > &Ns, SM_Network &network)
build the network from a grid paver
Definition: SM_NetworkBuilder.h:149
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: SM_NetworkBuilder.h:74
virtual tBoolean buildDomainNetwork(const SM_CrystalStructure &cStructure, const std::array< tBoolean, SM_Constants::DIM > &isPeriodic, const tString &domainExpression, SM_Network &network)=0
build the network from domain expression
virtual void buildNetwork(const SM_CrystalStructure &cStructure, const std::array< tBoolean, SM_Constants::DIM > &isPeriodic, const std::array< tReal, SM_Constants::DIM > &X0, const std::array< tInteger, SM_Constants::DIM > &Ns, const std::valarray< tMask > &mask, SM_Network &network)=0
build the network from a grid paver and a mask on crystal structure on grid
void buildPaverNetwork(const SM_CrystalStructure &cStructure, const std::array< tBoolean, SM_Constants::DIM > &isPeriodic, const std::array< tReal, SM_Constants::DIM > &X0, const std::array< tInteger, SM_Constants::DIM > &Ns, SM_Network &network)
build the network from a grid paver
Definition: SM_NetworkBuilder.h:179
void buildPaverNetwork(const SM_CrystalStructure &cStructure, const std::array< tBoolean, SM_Constants::DIM > &isPeriodic, const std::array< tInteger, SM_Constants::DIM > &Ns, SM_Network &network)
build the network from a grid paver
Definition: SM_NetworkBuilder.h:134
SM_NetworkBuilder(void)
create a network class
Definition: SM_NetworkBuilder.h:40
virtual ~SM_NetworkBuilder(void)
destroy
Definition: SM_NetworkBuilder.h:48
This class is describes a network composed by.
Definition: SM_Network.h:66
This class is a base class for Stoch Microm package.
Definition: SM_Object.h:36