Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77852006
projection_small_strain.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
Fri, Aug 16, 19:29
Size
3 KB
Mime Type
text/x-c
Expires
Sun, Aug 18, 19:29 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19933081
Attached To
rMUSPECTRE µSpectre
projection_small_strain.hh
View Options
/**
* @file projection_small_strain.cc
*
* @author Till Junge <till.junge@altermail.ch>
*
* @date 14 Jan 2018
*
* @brief Small strain projection operator as defined in Appendix A1 of
* DOI: 10.1002/nme.5481 ("A finite element perspective on nonlinear
* FFT-based micromechanical simulations", Int. J. Numer. Meth. Engng
* 2017; 111 :903–926)
*
* Copyright © 2018 Till Junge
*
* µSpectre is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3, or (at
* your option) any later version.
*
* µSpectre 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GNU Emacs; see the file COPYING. If not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef PROJECTION_SMALL_STRAIN_H
#define PROJECTION_SMALL_STRAIN_H
#include "fft/projection_default.hh"
namespace muSpectre {
/**
* Implements the small strain projection operator as defined in
* Appendix A1 of DOI: 10.1002/nme.5481 ("A finite element
* perspective on nonlinear FFT-based micromechanical
* simulations", Int. J. Numer. Meth. Engng 2017; 111
* :903–926)
*/
template <Dim_t DimS, Dim_t DimM>
class ProjectionSmallStrain: public ProjectionDefault<DimS, DimM>
{
public:
using Parent = ProjectionDefault<DimS, DimM>; //!< base class
//! polymorphic pointer to FFT engines
using FFT_Engine_ptr = typename Parent::FFT_Engine_ptr;
using Ccoord = typename Parent::Ccoord; //!< cell coordinates type
//! local field collection (for Fourier-space representations)
using LFieldCollection_t = FieldCollection<DimS, DimM, false>;
//! Fourier-space field containing the projection operator itself
using Proj_t = TensorField<LFieldCollection_t, Real, fourthOrder, DimM>;
//! iterable operator
using Proj_map = T4MatrixFieldMap<LFieldCollection_t, Real, DimM>;
//! iterable vectorised version of the Fourier-space tensor field
using Vector_map = MatrixFieldMap<LFieldCollection_t, Complex, DimM*DimM, 1>;
//! Default constructor
ProjectionSmallStrain() = delete;
//! Constructor with fft_engine
ProjectionSmallStrain(FFT_Engine_ptr engine);
//! Copy constructor
ProjectionSmallStrain(const ProjectionSmallStrain &other) = delete;
//! Move constructor
ProjectionSmallStrain(ProjectionSmallStrain &&other) = default;
//! Destructor
virtual ~ProjectionSmallStrain() = default;
//! Copy assignment operator
ProjectionSmallStrain& operator=(const ProjectionSmallStrain &other) = delete;
//! Move assignment operator
ProjectionSmallStrain& operator=(ProjectionSmallStrain &&other) = delete;
//! initialises the fft engine (plan the transform)
virtual void initialise(FFT_PlanFlags flags = FFT_PlanFlags::estimate) override final;
protected:
private:
};
} // muSpectre
#endif /* PROJECTION_SMALL_STRAIN_H */
Event Timeline
Log In to Comment