Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77947067
solid_mechanics_model_cohesive_parallel.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Aug 17, 09:55
Size
4 KB
Mime Type
text/x-c++
Expires
Mon, Aug 19, 09:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19954252
Attached To
rAKA akantu
solid_mechanics_model_cohesive_parallel.hh
View Options
/**
* @file solid_mechanics_model_cohesive_parallel.hh
*
* @author Marco Vocialta <marco.vocialta@epfl.ch>
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date Fri Jun 14 17:09:09 2013
*
* @brief Include of the class members for parallelism
*
* @section LICENSE
*
* Copyright (©) 2010-2011 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* Akantu is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* Akantu is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Akantu. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* -------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
/// register the tags associated with the parallel synchronizer for
/// cohesive elements
void initParallel(MeshPartition * partition,
DataAccessor * data_accessor = NULL,
bool extrinsic = false);
protected:
void fillSynchronizeNormals(ByElementTypeReal & facet_normals,
GhostType ghost_type);
void synchronizeGhostFacets();
void updateFacetSynchronizers();
void fillGlobalConnectivity(ByElementTypeUInt & global_connectivity,
GhostType ghost_type,
bool just_init);
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public:
/// get cohesive elements synchronizer
AKANTU_GET_MACRO(CohesiveSynchronizer,
cohesive_distributed_synchronizer,
const DistributedSynchronizer *);
/* ------------------------------------------------------------------------ */
/* Data Accessor inherited members */
/* ------------------------------------------------------------------------ */
public:
inline UInt getNbQuadsForFacetCheck(const Array<Element> & elements) const;
inline UInt getNbNodesPerElementList(const Array<Element> & elements) const;
inline virtual UInt getNbDataForElements(const Array<Element> & elements,
SynchronizationTag tag) const;
inline virtual void packElementData(CommunicationBuffer & buffer,
const Array<Element> & elements,
SynchronizationTag tag) const;
inline virtual void unpackElementData(CommunicationBuffer & buffer,
const Array<Element> & elements,
SynchronizationTag tag);
template<typename T>
inline void packFacetStressDataHelper(const ByElementTypeArray<T> & data_to_pack,
CommunicationBuffer & buffer,
const Array<Element> & elements) const;
template<typename T>
inline void unpackFacetStressDataHelper(ByElementTypeArray<T> & data_to_unpack,
CommunicationBuffer & buffer,
const Array<Element> & elements) const;
template<typename T, bool pack_helper>
inline void packUnpackFacetStressDataHelper(ByElementTypeArray<T> & data_to_pack,
CommunicationBuffer & buffer,
const Array<Element> & element) const;
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private:
/// facet synchronizer
FacetSynchronizer * facet_synchronizer;
/// facet stress synchronizer
FacetStressSynchronizer * facet_stress_synchronizer;
/// cohesive elements synchronizer
DistributedSynchronizer * cohesive_distributed_synchronizer;
/// global connectivity
ByElementTypeUInt * global_connectivity;
Event Timeline
Log In to Comment