IFEM  90A354
ASMs1DSpec.h
Go to the documentation of this file.
1 // $Id$
2 //==============================================================================
12 //==============================================================================
13 
14 #ifndef _ASM_S1D_SPEC_H
15 #define _ASM_S1D_SPEC_H
16 
17 #include "ASMs1DLag.h"
18 
19 
25 class ASMs1DSpec : public ASMs1DLag
26 {
27 public:
29  ASMs1DSpec(unsigned char n_s = 1, unsigned char n_f = 1)
30  : ASMs1DLag(n_s,n_f) {}
32  ASMs1DSpec(const ASMs1DSpec& patch, unsigned char n_f = 0)
33  : ASMs1DLag(patch,n_f) {}
35  virtual ~ASMs1DSpec() {}
36 
37 
38  // Methods for integration of finite element quantities.
39  // These are the main computational methods of the ASM class hierarchy.
40  // ====================================================================
41 
46  virtual bool integrate(Integrand& integrand,
47  GlobalIntegral& glbInt, const TimeDomain& time);
48 
54  virtual bool integrate(Integrand& integrand, int lIndex,
55  GlobalIntegral& glbInt, const TimeDomain& time);
56 
57 
58  // Post-processing methods
59  // =======================
60 
65  virtual bool evalSolution(Matrix& sField, const IntegrandBase& integrand,
66  const RealArray*, bool) const;
67 
68 protected:
69 
70  // Internal utility methods
71  // ========================
72 
81  virtual bool getGridParameters(RealArray& prm, int nSegSpan) const;
82 };
83 
84 #endif
Driver for assembly of 1D Lagrange FE models.
std::vector< Real > RealArray
A real-valued array without algebraic operations.
Definition: ImmersedBoundaries.h:29
Driver for assembly of 1D Lagrange FE models.
Definition: ASMs1DLag.h:27
virtual bool evalSolution(Matrix &sField, const Vector &locSol, const int *npe, int, bool) const
Evaluates the primary solution field at all visualization points.
Definition: ASMs1D.C:1565
Driver for assembly of structured 1D Spectral FE models.
Definition: ASMs1DSpec.h:26
virtual bool evalSolution(Matrix &sField, const Vector &locSol, const int *, int, bool) const
Evaluates the primary solution field at all visualization points.
Definition: ASMs1DLag.C:478
virtual bool getGridParameters(RealArray &prm, int nSegSpan) const
Calculates parameter values for all visualization nodal points.
Definition: ASMs1DSpec.C:28
ASMs1DSpec(unsigned char n_s=1, unsigned char n_f=1)
Default constructor.
Definition: ASMs1DSpec.h:29
ASMs1DSpec(const ASMs1DSpec &patch, unsigned char n_f=0)
Copy constructor.
Definition: ASMs1DSpec.h:32
virtual bool integrate(Integrand &integrand, GlobalIntegral &glbInt, const TimeDomain &time)
Evaluates an integral over the interior patch domain.
Definition: ASMs1DSpec.C:59
virtual ~ASMs1DSpec()
Empty destructor.
Definition: ASMs1DSpec.h:35
Abstract base class representing a system level integrated quantity.
Definition: GlobalIntegral.h:29
Base class representing a system level integrated quantity.
Definition: IntegrandBase.h:42
Abstract base class representing a system level integrated quantity.
Definition: Integrand.h:44
Struct representing the time domain.
Definition: TimeDomain.h:23