Re: [deal.II] Discrepancy in Computing the Inf-Sup Constants Using Matlab and deal.II

2024-06-02 Thread Wolfgang Bangerth
Najwa: on a separate note: Computing the inf-sup constant is an interesting problem. It would be nice to have a program that shows how to do that available as the base for others' experiments. Could I interest you in submitting your code, once you've got it working, to the code gallery?

Re: [deal.II] Discrepancy in Computing the Inf-Sup Constants Using Matlab and deal.II

2024-06-01 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https

Re: [deal.II] Discrepancy in Computing the Inf-Sup Constants Using Matlab and deal.II

2024-05-30 Thread Wolfgang Bangerth
ne is not. Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum

[deal.II] Re: deal.II User and Developer Workshop: August 12-16, 2024

2024-05-29 Thread Wolfgang Bangerth
All: just a reminder about the workshop. Registration closes on June 9. Best W. On 4/22/24 17:23, Wolfgang Bangerth wrote: Dear deal.II users and developers, The    11th deal.II Users' and Developers' workshop will be held August 12-16, 2024 in Fort Collins, Colorado, USA. The intent

Re: [deal.II] dealii Installation

2024-05-29 Thread Wolfgang Bangerth
at that time, but you should expect that newer deal.II versions were developed on the expectation that the underlying packages are also reasonably new. Best W. -- Wolfgang Bangerth email: bange

Re: [deal.II] Iterate over active descendants

2024-05-28 Thread Wolfgang Bangerth
And here you do the same, just by hand. So you are doing fundamentally different things. I'm not surprised you get fundamentally different run times :-) Best W. -- ---- Wolfgang Bangerth email: bange..

Re: [deal.II] Standalone Compilation of Examples Fails

2024-05-24 Thread Wolfgang Bangerth
, not when you execute the program.) Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located

Re: [deal.II] Providing read access to a distributed matrix to more than one thread on the same process

2024-05-24 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see

Re: [deal.II] Providing read access to a distributed matrix to more than one thread on the same process

2024-05-24 Thread Wolfgang Bangerth
of the communication yourself. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project

Re: [deal.II] Iterate over active descendants

2024-05-24 Thread Wolfgang Bangerth
run your code through a profiler to see where it's actually slow? Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth

Re: [deal.II] Error while importing mesh with two solids

2024-05-23 Thread Wolfgang Bangerth
Jiahoa: I find that deleting the units on the interal face between two solids can solve this problem, but I would like to know if there are any other solutions. The problem is that you are setting a boundary indicator for a face that is not actually at the boundary. This can't work. As

Re: [deal.II] Providing read access to a distributed matrix to more than one thread on the same process

2024-05-21 Thread Wolfgang Bangerth
ies), with different (sub-)communicators and run one solve on each communicator. Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.col

Re: [deal.II] Different basis functions and polynomial degrees for each space direction

2024-05-15 Thread Wolfgang Bangerth
as an example. Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see

Re: [deal.II] Deal ii installation via candi

2024-05-10 Thread Wolfgang Bangerth
. This installed 9.5.1. Except I think, Symengine ( I could not run Step-71). Step-72 runs properly. I think I'll use this for now. Ah yes, that's definitely the easiest of all options :-) Best W. -- Wolfgang Bangerth email

Re: [deal.II] Deal ii installation via candi

2024-05-09 Thread Wolfgang Bangerth
version to use in candi.cfg; perhaps try selecting a different version? Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth

Re: [deal.II] Deal ii installation via candi

2024-05-09 Thread Wolfgang Bangerth
fix is /home/narasimhan-swaminathan/Documents/Research/Software/Deal_II/candi/install/tmp/unpack/Trilinos-trilinos-release-13-2-0/packages/kokkos/core/src/impl/Kokkos_MemoryPool.cpp Best W. -- ---- Wolfgang Bangerth e

Re: [deal.II] Deal ii installation via candi

2024-05-09 Thread Wolfgang Bangerth
somewhere higher up in the output? Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is locat

Re: [deal.II] Deal ii installation via candi

2024-05-09 Thread Wolfgang Bangerth
your system? Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at

Re: [deal.II] Direct solver runtime error -- undefined symbol: __kmpc_global_thread_num

2024-05-08 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see

Re: [deal.II] Deal ii installation via candi

2024-05-08 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en

Re: [deal.II] AffineConstraints distribute_local_to_global error

2024-05-06 Thread Wolfgang Bangerth
, system_matrix_network.block(0, 1)); However, i get the following error: [...] In the output file you show, it seems like block (0,1) has only columns 0...5, so accessing column 6 would be an expected error. Best W. -- Wolfgang

Re: [deal.II] HELP!! dealii cmake configuration error: Cannot compile with the user supplied flags

2024-05-02 Thread Wolfgang Bangerth
actually have a compiler installed on your system? Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II

Re: [deal.II] Assembling gradient jump at faces with FESystem

2024-04-25 Thread Wolfgang Bangerth
that illustrates this. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http

Re: [deal.II] Write to std::cout using MPI from subroutine

2024-04-24 Thread Wolfgang Bangerth
if (dealii::Utilities::MPI::this_mpi_process == 0) [...] warning: the address of ‘unsigned int dealii::Utilities::MPI::this_mpi_process(MPI_Comm)’ will never be NULL You need to say Utilities::MPI::this_mpi_process() instead of Utilities::MPI::this_mpi_process The former calls the

Re: [deal.II] Cylinder symmetric Poisson solution

2024-04-23 Thread Wolfgang Bangerth
is the form of the advection equation you are trying to solve, in cylindrical coordinates? Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http

[deal.II] deal.II User and Developer Workshop: August 12-16, 2024

2024-04-22 Thread Wolfgang Bangerth
need support, please state so in your registration! We expect to be able to fully support 50-60 participants. The organizers Wolfgang Bangerth (Colorado State University, bange...@colostate.edu) Timo Heister (Clemson University, heis...@clemson.edu) -- The deal.II project is located at h

Re: [deal.II] Growing memory usage with multiple threads

2024-04-22 Thread Wolfgang Bangerth
On 4/21/24 05:41, Praveen C wrote: I am using WorkStream in a code, and if I run with multiple threads, the memory usage grows continuously, as reported by "top". This does not happen with single thread. Can you give any tips on how to find the source of the problem ? Praveen, I don't

Re: [deal.II] Using some delta_t in embedded RK

2024-04-20 Thread Wolfgang Bangerth
designed for this kind of thing. My suggestion would be to use the very much more sophisticated interfaces to SUNDIALS and PETSc's TS sub-system. See also https://github.com/dealii/dealii/pull/15540 Best W. -- Wolfgang

Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Wolfgang Bangerth
of this works in practice. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located

Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Wolfgang Bangerth
T x)) The product of matrices is never computed because it is never needed. Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bange

Re: [deal.II] LinearOperator for fully dense and non-square matrix

2024-04-19 Thread Wolfgang Bangerth
use linear_operator(M) on full matrices M. I don't know the answer to that, but what happens if you try? Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: h

Re: [deal.II] CMAKE Warnig: no source or binary provided

2024-04-19 Thread Wolfgang Bangerth
ng in your build directory, run cmake again, and if you get the same error again, show us *exactly* the command line you are using? Best W. -- ---- Wolfgang Bangerth email: bange...@col

Re: [deal.II] Minimal deal.ii application loads many surprising dynamic libraries on macos

2024-04-19 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You

Re: [deal.II] Minimal deal.ii application loads many surprising dynamic libraries on macos

2024-04-19 Thread Wolfgang Bangerth
smaller. It will of course also have substantially less functionality :-) Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu

Re: [deal.II] CMAKE Warnig: no source or binary provided

2024-04-17 Thread Wolfgang Bangerth
#configuration Best W> -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.

Re: [deal.II] Re: Short course in Chennai, India -- April 20 to May 3, 2024

2024-04-15 Thread Wolfgang Bangerth
can post links -- but I should mention that the content of the lectures will closely follow what I already have here: https://www.math.colostate.edu/~bangerth/videos.html Best W. -- Wolfgang Bangerth email

[deal.II] Re: Short course in Chennai, India -- April 20 to May 3, 2024

2024-04-15 Thread Wolfgang Bangerth
All: I got the dates wrong in both the body and the subject line of the email. The correct dates are Monday April 29 to Friday May 3. Best W. On 4/12/24 14:57, Wolfgang Bangerth wrote: All, if you live in India or thereabouts, can travel on short notice, and are interested

Re: [deal.II] Tutorial Step-67 Extension HLLC

2024-04-15 Thread Wolfgang Bangerth
Yeji: I am trying to implement HLLC flux in the code for tutorial step-67. I have implemented the flux just as described in the textbook. However, this code results 'dt' to 'inf' and not a number errors... Screenshot 2024-04-14 at 2.06.49 PM.png It looks like I am missing something but not

Re: [deal.II] Regarding getting error during "make release"

2024-04-15 Thread Wolfgang Bangerth
On 4/13/24 05:33, gaurav c wrote: I am getting the error, when in crystalPlasticity, i  use the command "make release", it is giving error. Gaurav, this same question has been asked before on the mailing list -- you may want to search the archives. The short answer is that this is either a

[deal.II] Short course in Chennai, India -- April 20 to May 3, 2024

2024-04-12 Thread Wolfgang Bangerth
://civil.iitm.ac.in/pcoe/smge/term-course-2024.php Best Wolfgang -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project

Re: [deal.II] Assertion error when using FE_Nothing with FESystems with different number of base elements

2024-04-08 Thread Wolfgang Bangerth
. Best Wolfgang -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org

Re: [deal.II] Questions from tutorial step-19

2024-03-31 Thread Wolfgang Bangerth
the values of parameters (e.g., vertex_quadrature.size()). This would help me gain a deeper understanding of what the program does. This is what a "debugger" is there for: https://www.math.colostate.edu/~bangerth/videos.676.25.html Best W. -- ---

Re: [deal.II] Linearized elasticity (static problem)- application on a cantilever beam (extnesion on step-8)

2024-03-31 Thread Wolfgang Bangerth
On 3/30/24 23:21, Mohammed Abdelmonem Hassan Mohammed wrote: Now the linear, quadratic and cubic shape functions all approach the same solution as Euler-Bernoulli ode. Great, that's good news! Best W. -- Wolfgang

Re: [deal.II] Gridin_COMSOL_mphtxt cannot import my mesh

2024-03-28 Thread Wolfgang Bangerth
*think* should work in 9.4, but am not entirely sure). Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For m

Re: [deal.II] Linearized elasticity (static problem)- application on a cantilever beam (extnesion on step-8)

2024-03-28 Thread Wolfgang Bangerth
be so, perhaps starting with articulating how exactly the two limits differ. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu

Re: [deal.II] How to access Dof values of solution vector according to their geometric location?

2024-03-25 Thread Wolfgang Bangerth
On 3/25/24 09:13, Tim hyvärinen wrote: Let's say we have a 3-components vector-valued unknown. Geometry domain is  2 * 2 * 2 size cube.  I want to set Dofs, which are inside ball x^2+y^2+z^2=1,  to be  (1, 1, 1) at every vertex. While the rest of Dofs of the cube to be (1,0,0) at very

Re: [deal.II] Possible typo in step 26 tutorial

2024-03-22 Thread Wolfgang Bangerth
/dealii/pull/16778 looks correct. Someone will merge it once it's passed some basic tests! Thanks for helping improve the documentation! W. -- Wolfgang Bangerth email: bange...@colostate.edu

Re: [deal.II] Gridin_COMSOL_mphtxt cannot import my mesh

2024-03-21 Thread Wolfgang Bangerth
l.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com <mailto:dealii+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/065ad604-64c8-

Re: [deal.II] Gridin_COMSOL_mphtxt cannot import my mesh

2024-03-08 Thread Wolfgang Bangerth
On 3/7/24 23:22, Yufei Fang wrote: error: cannot convert ‘dealii::Triangulation<2, 3>’ to ‘dealii::Triangulation<3, 3>&’    38 |         grid_in.attach_triangulation(triangulation);       |                                      ^       |                                      |  

[deal.II] Mark your calendars: deal.II workshop in Colorado (August 12-16, 2024)

2024-03-07 Thread Wolfgang Bangerth
All: we're still working on a website and registration form, but I wanted to make sure this already goes out: 11th deal.II User and Developer Workshop Fort Collins, Colorado, USA August 12-16, 2024 We have gracious support from the National Science Foundation to support all

Re: [deal.II] Gridin_COMSOL_mphtxt cannot import my mesh

2024-03-06 Thread Wolfgang Bangerth
es was correct. But it is no longer; can you point out where exactly you found this statement? Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://

Re: [deal.II] Query Regarding Direct Import of Dream3D Synthetic Microstructures into Deal.II

2024-03-06 Thread Wolfgang Bangerth
want to check what GridIn::read_vtk() can do for you. If that function doesn't do it, you will have to either extend it, or write your own function to do that. Best W. -- Wolfgang Bangerth email

Re: [deal.II] Broadcasting user types containing smart pointers

2024-03-05 Thread Wolfgang Bangerth
at classes such as AlignedVector, for example. The BOOST documentation also has a lot to say about this. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http

Re: [deal.II] Broadcasting user types containing smart pointers

2024-03-05 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list

Re: [deal.II] Project cell quadrature point data to boundary

2024-03-01 Thread Wolfgang Bangerth
W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/fo

Re: [deal.II] Query Regarding Direct Import of Dream3D Synthetic Microstructures into Deal.II

2024-02-29 Thread Wolfgang Bangerth
by all means go with it! As for the Dream3d format: You need to explain in more detail what "I'm facing some confusion" means in concrete terms :-) Best W. -- ---- Wolfgang Bangerth email:

Re: [deal.II] Query Regarding Direct Import of Dream3D Synthetic Microstructures into Deal.II

2024-02-29 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum

Re: [deal.II] Project cell quadrature point data to boundary

2024-02-23 Thread Wolfgang Bangerth
ask you for a concise mathematical definition of what you want to do first, and then one can think of how to implement it? Best W. -- Wolfgang Bangerth email: bange...@colostate.edu

Re: [deal.II] type/value mismatch error in geometry/geometries/point_xy

2024-02-21 Thread Wolfgang Bangerth
. The only alternative I can suggest is edits to BOOST itself, but not having the compiler that is troublesome, I have no way to test that edits I could suggest will actually work. Best W. -- Wolfgang Bangerth

Re: [deal.II] Solving a system with lagrange multipliers

2024-02-20 Thread Wolfgang Bangerth
he kind of situation that we're still discussing here: https://github.com/dealii/dealii/pull/16412 I think you want to specifically look at the last comment at the bottom where I point to a proposed code gallery program. Best Wolfgang -- -

Re: [deal.II] Memory bound problem with Docker

2024-02-15 Thread Wolfgang Bangerth
lii/587120e0-cd23-48eb-95fb-6da6b5eaef12n%40googlegroups.com <https://groups.google.com/d/msgid/dealii/587120e0-cd23-48eb-95fb-6da6b5eaef12n%40googlegroups.com?utm_medium=email_source=footer>. -- ---- Wolfgang Bangerth

Re: [deal.II] Sparsity pattern error while applying periodic boundary conditions

2024-02-13 Thread Wolfgang Bangerth
spect that you call DoFTools::make_sparsity_pattern(). When you do this, you need to provide an AffineConstraints object that includes all constraints, or you will get errors just like the ones you see. Best W> -- ---- W

Re: [deal.II] type/value mismatch error in geometry/geometries/point_xy

2024-02-10 Thread Wolfgang Bangerth
Wolfgang Bangerth <mailto:bange...@colostate.edu>> wrote: On 2/9/24 07:58, Michael Pilipchuk wrote: > > Discussion in the PRISMS-Plasticity group seems like it might point to > GCC 11.4 compiler issues. Does anyone here have any possible advice? Michael

Re: [deal.II] type/value mismatch error in geometry/geometries/point_xy

2024-02-09 Thread Wolfgang Bangerth
On 2/9/24 07:58, Michael Pilipchuk wrote: Discussion in the PRISMS-Plasticity group seems like it might point to GCC 11.4 compiler issues. Does anyone here have any possible advice? Michael, can you show the entirety of the error message (top to bottom) to see how exactly you end up in

Re: [deal.II] Mixed codimensionality

2024-02-05 Thread Wolfgang Bangerth
On 2/5/24 12:26, Alex Quinlan wrote: The dynamic sparsity pattern comes from this approach:     dof_handler_sld.distribute_dofs(fe_sld);     sld_owned_dofs = dof_handler_sld.locally_owned_dofs();     DynamicSparsityPattern debug_dsp(sld_owned_dofs);    

Re: [deal.II] How to access/output reference element basis functions values

2024-02-04 Thread Wolfgang Bangerth
o you want to transform from the reference to the real cell? Best Wolfgang -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://

Re: [deal.II] Error of Installing Deal.ii 9.5.2 on Intel-based Mac Devices

2024-02-04 Thread Wolfgang Bangerth
s compiler? Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.

Re: [deal.II] Mixed codimensionality

2024-02-01 Thread Wolfgang Bangerth
ultimately end up writing into was not included when you constructed the sparsity pattern. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http

Re: [deal.II] TBB issue on an arm-based Mac

2024-02-01 Thread Wolfgang Bangerth
chips is quite difficult, but there are .dmg files you can download. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu

Re: [deal.II] error: cannot declare variable ‘postprocessor’ to be of abstract type ‘FracturePhaseFieldProblem<2>::Postprocessor’

2024-01-31 Thread Wolfgang Bangerth
Yu: classFracturePhaseFieldProblem {     public: …     private: … void output_results () const; class Postprocessor; This is what's called a "forward declaration". The line really just says "There is a class Postprocessor" but because you don't provide the details in a {...} block,

Re: [deal.II] Imported mesh problem with p4est and parallel::distributed

2024-01-30 Thread Wolfgang Bangerth
I didn't properly set the parameters for the AMG preconditioner? All possibilities. But hard to tell on such a small problem. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu

Re: [deal.II] Direct solve preconditioner for Trilinos Block Sparse

2024-01-26 Thread Wolfgang Bangerth
I can't seem to find a way to use the BlockwiseDirect preconditioner on TrilinosWrappers::BlockSparseMatrix objects? The signature for BlockwiseDirect only takes the base SparseMatrix object. Would it be possible to temporarily forget the block structure and recover the underlying

Re: [deal.II] Modules page disappears in online doc

2024-01-24 Thread Wolfgang Bangerth
On 1/18/24 02:06, Chengjiang Yin wrote: I notice that the modules page  has disappeared from the recent online documentation for a while and the module tab on the top bar is also missing. Does this on purpose or by mistake? The

Re: [deal.II] Mixed codimensionality

2024-01-24 Thread Wolfgang Bangerth
On 1/24/24 09:07, Alex Quinlan wrote: I seem to have it working now, though I've hit some other unrelated snags that I need to resolve.  Once I get those fixed and confirm that my program is running correctly, I would be willing to work on a patch. Excellent, thank you in advance! Best

Re: [deal.II] Re: element birth using FE_Nothing and FE_Collection in time-dependent problem with adaptive mesh refinement

2024-01-24 Thread Wolfgang Bangerth
On 1/24/24 03:41, luis miguel reig buades wrote: However, it does not seem to apply the initial solution I specify to the recently activated elements ( solution = 50.  ), it initializes them to solution = 0. Are you running in debug mode? The statement vector = value; is only allowed if

Re: [deal.II] Shape gradients of (f(x)*\phi_i)

2024-01-23 Thread Wolfgang Bangerth
is defined. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org

Re: [deal.II] Solution transfer for BlockVector

2024-01-23 Thread Wolfgang Bangerth
, not BlockVector. Am I right? No, this is not true. Have you tried? It should work just fine. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http

Re: [deal.II] Mixed codimensionality

2024-01-19 Thread Wolfgang Bangerth
On 1/18/24 12:56, Alex Quinlan wrote: Where I start to get confused is when I try to reinitialize the system matrix.  What I want to do is something like: system_matrix.reinit(dsp, mpi_communicator); This has my MPI communicator and the sparsity pattern that I’ve built up. However, this

Re: [deal.II] Re: element birth using FE_Nothing and FE_Collection in time-dependent problem with adaptive mesh refinement

2024-01-18 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum

Re: [deal.II] Convert(copy) a refined serial triangulation to a distributed triangulation

2024-01-17 Thread Wolfgang Bangerth
On 12/23/23 08:51, LY XXXiao wrote: I am trying to use two sets of mesh for different parts of the problem. Mesh 1 (triangulation) is refined outside the program but read through read_vtu() function, which means that it has to be a serial triangulation. The mesh 2 is further refined from

Re: [deal.II] Mixed codimensionality

2024-01-17 Thread Wolfgang Bangerth
On 1/17/24 14:40, Alex Quinlan wrote: If I do this, then it seems that I'd end up with two conflicting partitions.  If I have n_mpi_processes=8 , for example, this approach would assign ~1/8th of the solid mesh to process 1 AND ~1/8th of the shell mesh to process 1.  This seems like a

Re: [deal.II] Mixed codimensionality

2024-01-16 Thread Wolfgang Bangerth
nd generally the partition of one triangulation owned by a specific process does not geometrically overlap with the partition of the other triangulation owned by the same process. Best W. -- ---- Wolfgang Bangerth

Re: [deal.II] Compilation Error with the Trilinos Package in deal.II

2024-01-13 Thread Wolfgang Bangerth
a bug report here: https://github.com/trilinos/Trilinos/issues Best WB -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth

Re: [deal.II] Compilation Error with the Trilinos Package in deal.II

2024-01-13 Thread Wolfgang Bangerth
om/d/msgid/dealii/aacaec23-a578-4425-bbb4-2de33d7e9a69n%40googlegroups.com?utm_medium=email_source=footer>. -- ---- Wolfgang Bangerth email: bange...@colostate.edu

Re: [deal.II] Compilation Error with the Plasticity Package in deal.II Version 9.5.1

2024-01-12 Thread Wolfgang Bangerth
s. You will have to ask the PRISMS developers how this can be fixed. Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~ba

Re: [deal.II] Re: Missing documentation for Tensor class?

2024-01-11 Thread Wolfgang Bangerth
to do than just say "we don't know how to fix this". Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/

Re: [deal.II] trilinos sparsity pattern: end iterator of last locally owned row triggers trilinos error

2024-01-05 Thread Wolfgang Bangerth
olumns of the rows. I did not see a different way to do this than using the row iterators. Yes, I think I know how to fix this. I'll get to it next week when I'm back from staying at my in-laws. Best W. -- ---- Wolfgang Ba

Re: [deal.II] trilinos sparsity pattern: end iterator of last locally owned row triggers trilinos error

2024-01-04 Thread Wolfgang Bangerth
actly this issue recently: https://github.com/dealii/dealii/pull/16406 Would you be willing to create a complete example, and open a bug report for this on github? Best W. -- ---- Wolfgang Bangerth email:

Re: [deal.II] cmake configure does not find cgal

2024-01-04 Thread Wolfgang Bangerth
make looks for in that directory? To see which files cmake will look for, check cmake/configure/configure_50_cgal.cmake. Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu

Re: [deal.II] Received signal SIGSEGV, Segmentation fault

2023-12-30 Thread Wolfgang Bangerth
gle.com/d/msgid/dealii/fa5832ea-b7b0-4252-bfa0-a88b6d413d2an%40googlegroups.com?utm_medium=email_source=footer>. -- Wolfgang Bangerth email: bange...@colostate.edu www: ht

Re: [deal.II] access all elements of a row of a trilinos sparse matrix

2023-12-29 Thread Wolfgang Bangerth
actually need. Whether that's a performance problem is something you should benchmark -- it is not worth optimizing operations for which you do not already know that they are a bottleneck. Best W. -- Wolfgang Bangerth

Re: [deal.II] access all elements of a row of a trilinos sparse matrix

2023-12-29 Thread Wolfgang Bangerth
Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/for

Re: [deal.II] cmake build linking error with source tree layout

2023-12-28 Thread Wolfgang Bangerth
detail. Best W. -- ---- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.g

Re: [deal.II] Re: std::bad_alloc at read_vtu

2023-12-27 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl

Re: [deal.II] PETScWrappers::MPI::SparseMatrix vmult error

2023-12-23 Thread Wolfgang Bangerth
the same way you do, performs the vmult, and does nothing else -- in other words, we need a minimal reproducing example. We'd be happy to take a look at what's going on if we had such a small test case. Best W. -- Wolfgang

Re: [deal.II] construct TrilinosWrappers::SparseMatrix from TrilinosWrappers::BlockSparseMatrix to use Amesos direct solver

2023-12-20 Thread Wolfgang Bangerth
use DoFTools::extract_dofs() to figure out which DoF corresponds to which variable. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http

Re: [deal.II] Imported mesh problem with p4est and parallel::distributed

2023-12-19 Thread Wolfgang Bangerth
. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https

Re: [deal.II] Issue with PETSc vector

2023-12-18 Thread Wolfgang Bangerth
On 12/18/23 13:23, Giselle Sosa Jones wrote: // Initialize vector dof_handler_dg0.distribute_dofs(fe_dg0); const std::vector locally_owned_dofs_per_proc_dg0 = DoFTools::locally_owned_dofs_per_subdomain(dof_handler_dg0); locally_owned_dofs_dg0 =

Re: [deal.II] construct TrilinosWrappers::SparseMatrix from TrilinosWrappers::BlockSparseMatrix to use Amesos direct solver

2023-12-18 Thread Wolfgang Bangerth
On 12/18/23 12:44, Simon wrote: I use a BlockSolver for the solution and right hand side of the linear system to compute the various norms (non-linear solver) of the the individual blocks. For a direct solver, I would now use a SparseMatrix as matrix type and a BlockVector as vector type. At

Re: [deal.II] construct TrilinosWrappers::SparseMatrix from TrilinosWrappers::BlockSparseMatrix to use Amesos direct solver

2023-12-18 Thread Wolfgang Bangerth
() with one or the other matrix object, depending on your run-time flags. Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu

  1   2   3   4   5   6   7   8   9   10   >