Namespace ae108::assembly
Namespace List > ae108 > assembly
Assemble local data. More...
Namespaces
| Type | Name |
|---|---|
| namespace | plugins |
| namespace | utilities |
Classes
| Type | Name |
|---|---|
| class | Assembler <Element, class Plugins> A cpppetsc-Mesh-based assembler. |
| class | AssemblerGroup <SingleElementAssemblers> Groups a list of single element assemblers and inherits all their plugins. When calling a method provided by a plugin, this method is called for all member assemblers that have that plugin. |
| struct | ConcatenatePlugins <FeaturePlugins> ConcatenatePlugins is a metaprogramming function that concatenatesFeaturePlugins . It contains a "type" typedef of the concatenatedFeaturePlugins . |
| struct | ConcatenatePlugins< FeaturePlugins< Plugins... > > <Plugins> Concatenate a single list. |
| struct | ConcatenatePlugins< List, Lists... > <class List, Lists> Concatenate two or more lists. |
| struct | ConcatenatePlugins<> <> Concatenate an empty list. |
| struct | DerivePluginsUniquely <class Assembler, class PluginList> The struct inherits all the plugins once for the given assembler. |
| struct | DerivePluginsUniquely< Assembler, assembly::FeaturePlugins< Plugins... > > <class Assembler, Plugins> |
| struct | ElementTypeTrait <class Assembler> Deduces the element type corresponding to an Assembler class. |
| struct | ElementTypeTrait< Assembler< Element, Plugins > > <Element, class Plugins> Type is an alias for the element type used by Assembler . |
| struct | ElementTypeTrait< AssemblerGroup< SingleElementAssemblers... > > <SingleElementAssemblers> Specialization: Deduces the element type corresponding to an Assembler group. |
| class | FeaturePlugin <class Assembler_, Plugin_> |
| struct | FeaturePlugins <Plugins> A wrapper around a list of feature plugins. |
| struct | FeaturePlugins<> <> Specialization for no plugins. |
| struct | IsGroupTypeTrait <class Assembler> Deduces whether the assembler is an assembler group. By default (designed for the nongroup case) the value is false. |
| struct | IsGroupTypeTrait< AssemblerGroup< SingleElementAssemblers... > > <SingleElementAssemblers> Specialization: AssemblerGroup is an assembler group. |
| struct | PluginTypeTrait <class Assembler> Deduces the plugin type corresponding to an Assembler class. |
| struct | PluginTypeTrait< Assembler< Element, Plugins > > <Element, class Plugins> Type is an alias for the plugin type used by Assembler . |
| struct | RealTypeTrait <class Assembler> Deduces the real type corresponding to an Assembler class. |
| struct | RealTypeTrait< Assembler< Element, Plugins > > <Element, class Plugins> Type is an alias for the real type used by Assembler . |
| struct | RealTypeTrait< AssemblerGroup< SingleElementAssemblers... > > <SingleElementAssemblers> Specialization: Deduces the value type corresponding to an Assembler group. |
| struct | SizeTypeTrait <class Assembler> Deduces the size type corresponding to an Assembler class. |
| struct | SizeTypeTrait< Assembler< Element, Plugins > > <Element, class Plugins> Type is an alias for the size type used by Assembler . |
| struct | SizeTypeTrait< AssemblerGroup< SingleElementAssemblers... > > <SingleElementAssemblers> Specialization: Deduces the size type corresponding to an Assembler group. |
| struct | ValueTypeTrait <class Assembler> Deduces the value type corresponding to an Assembler class. |
| struct | ValueTypeTrait< Assembler< Element, Plugins > > <Element, class Plugins> Type is an alias for the value type used by Assembler . |
| struct | ValueTypeTrait< AssemblerGroup< SingleElementAssemblers... > > <SingleElementAssemblers> Specialization: Deduces the value type corresponding to an Assembler group. |
Public Types
| Type | Name |
|---|---|
| typedef FeaturePlugins< plugins::AssembleEnergyPlugin, plugins::AssembleForceVectorPlugin, plugins::AssembleStiffnessMatrixPlugin, plugins::UpdateInternalVariablesPlugin > | DefaultFeaturePlugins A list of default assembler plugins. |
Public Functions
| Type | Name |
|---|---|
| cpppetsc::distributed< cpppetsc::Vector > | computeSolution (const Solver & solver, const typename Solver::BoundaryConditionContainer & boundaryConditions, cpppetsc::distributed< cpppetsc::Vector > initialGuess, const double time, const Assembler & assembler) Solves with solver usingassembler for the local assembly calls. |
Detailed Description
Library for assembling MPI-local data in cpppetsc meshes. For instance, assemble the local energy by summing the energy of all local element instances.
Public Types Documentation
typedef DefaultFeaturePlugins
A list of default assembler plugins.
using ae108::assembly::DefaultFeaturePlugins = typedef FeaturePlugins<plugins::AssembleEnergyPlugin, plugins::AssembleForceVectorPlugin, plugins::AssembleStiffnessMatrixPlugin, plugins::UpdateInternalVariablesPlugin>;
Public Functions Documentation
function computeSolution
Solves with solver usingassembler for the local assembly calls.
template<class Solver, class Assembler>
cpppetsc::distributed < cpppetsc::Vector > ae108::assembly::computeSolution (
const Solver & solver,
const typename Solver::BoundaryConditionContainer & boundaryConditions,
cpppetsc::distributed < cpppetsc::Vector > initialGuess,
const double time,
const Assembler & assembler
)
Wraps the assembler's assembleForceVector and assembleStiffnessMatrix methods (and, for energy-based solvers, its assembleEnergy method) into the local assembler callables expected by the computeSolution method of the solvers of the solve module, and forwards the remaining arguments.
Template parameters:
SolverA solver type of thesolvemodule (e.g.solve::NonlinearSolver). Must provide aBoundaryConditionContainertype andcomputeSolutionoverloads taking local force vector and stiffness matrix assemblers (and a local energy assembler, if it has aLocalEnergyAssemblertype).- Assembler An assembler type providing
assembleForceVectorandassembleStiffnessMatrix(andassembleEnergy, for energy-based solvers).
Parameters:
solverThe solver to use.boundaryConditionsThe boundary conditions to apply.initialGuessThe global vector to start iterating at.timeThis will be used to configure the assembler.assemblerThe assembler that computes the local quantities.
The documentation for this class was generated from the following file /builds/1mFY-48xc/0/mechanics-and-materials/ae108/assembly/src/include/ae108/assembly/Assembler.h