Page MenuHomec4science

facet_stress_synchronizer.hh
No OneTemporary

File Metadata

Created
Mon, Nov 18, 21:06

facet_stress_synchronizer.hh

/**
* @file facet_stress_synchronizer.hh
* @author Marco Vocialta <marco.vocialta@epfl.ch>
* @date Mon Aug 26 10:03:41 2013
*
* @brief Stress check on facets synchronizer
*
* @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/>.
*
*/
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_FACET_STRESS_SYNCHRONIZER_HH__
#define __AKANTU_FACET_STRESS_SYNCHRONIZER_HH__
#include "distributed_synchronizer.hh"
#include "facet_synchronizer.hh"
#include "cohesive_element_inserter.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_AKANTU__
class FacetStressSynchronizer : public DistributedSynchronizer {
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
protected:
FacetStressSynchronizer(Mesh & mesh_facets,
SynchronizerID id = "facet_stress_synchronizer",
MemoryID memory_id = 0);
// virtual ~FacetStressSynchronizer();
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
static FacetStressSynchronizer *
createFacetStressSynchronizer(FacetSynchronizer & facet_synchronizer,
Mesh & mesh_facets,
SynchronizerID id = "facet_stress_synchronizer",
MemoryID memory_id = 0);
void updateFacetStressSynchronizer(const CohesiveElementInserter & inserter,
const ElementTypeMapArray<UInt> & rank_to_element,
DataAccessor & data_accessor);
protected:
void updateElementList(Array<Element> * elements,
const CohesiveElementInserter & inserter,
const ElementTypeMapArray<UInt> & rank_to_element);
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private:
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
// #include "facet_stress_synchronizer_inline_impl.cc"
__END_AKANTU__
#endif /* __AKANTU_FACET_STRESS_SYNCHRONIZER_HH__ */

Event Timeline